Open
Conversation
`use v5.30` is equivalent to `use v5.30.0` and [automatically enables strictures](https://perldoc.perl.org/functions/use#use-VERSION) `use experimental 'signatures'` enables the feature and disables its experimental warnings in one step; [this pragma](https://perldoc.perl.org/experimental) has been [included since Perl v5.20](https://perldoc.perl.org/perl5200delta#New-Modules-and-Pragmata) when signatures were also introduced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
use v5.30is equivalent touse v5.30.0and automatically enables strictures.use 5.30.0is incorrect syntax; a v-string needs to lead with av. If you want to use plain numeric arguments it would use the formuse 5.030000but that is considered less readable syntax and only needed for compatibility with Perls older than 2002’s v5.8.0. See theusefunction docs for more.use experimental 'signatures'enables the feature and disables its experimental warnings in one step; this pragma has been included since Perl v5.20 when signatures were also introduced.