Skip to content

Patch 1#1

Open
mjgardner wants to merge 2 commits intoramuuns:masterfrom
mjgardner:patch-1
Open

Patch 1#1
mjgardner wants to merge 2 commits intoramuuns:masterfrom
mjgardner:patch-1

Conversation

@mjgardner
Copy link

@mjgardner mjgardner commented Dec 4, 2022

use v5.30 is equivalent to use v5.30.0 and automatically enables strictures. use 5.30.0 is incorrect syntax; a v-string needs to lead with a v. If you want to use plain numeric arguments it would use the form use 5.030000 but that is considered less readable syntax and only needed for compatibility with Perls older than 2002’s v5.8.0. See the use function 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.

`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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant