New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PATCH] fixed usage of "no if .. warnings" in perldelta #13006
Comments
From @dommThis is a bug report for perl from domm@plix.at, From eeeadd16dcfaa7977dfba9a1ba07ac7708ad16f0 Mon Sep 17 00:00:00 2001 pod/perl5180delta.pod | 2 +- Inline Patchdiff --git a/pod/perl5180delta.pod b/pod/perl5180delta.pod
index aa244dc..03341b6 100644
--- a/pod/perl5180delta.pod
+++ b/pod/perl5180delta.pod
@@ -405,7 +405,7 @@ is not recommended.
Warnings will now be issued when the parser sees C<~~>, C<given>, or C<when>.
To disable these warnings, you can add this line to the appropriate scope:
- no if $] >= 5.018, "experimental::smartmatch";
+ no if $] >= 5.018, 'warnings', "experimental::smartmatch";
Consider, though, replacing the use of these features, as they may change
behavior again before becoming stable.
--
Flags: Site configuration information for perl 5.14.2: Configured by Debian Project at Wed Apr 10 16:58:16 UTC 2013. Summary of my perl5 (revision 5 version 14 subversion 2) configuration: Locally applied patches: @INC for perl 5.14.2: Environment for perl 5.14.2: |
From @karenetheridgeOn Thu, May 30, 2013 at 02:20:45AM -0700, Thomas Klausner wrote:
I'd change that to: no if $] >= 5.018, warnings => "experimental::smartmatch"; ...to make it more clear that it's the warnings pragma being called, |
The RT System itself - Status changed from 'new' to 'open' |
From @HugmeirOn Thu, May 30, 2013 at 6:17 PM, Karen Etheridge <perl@froods.org> wrote:
+1 |
@rjbs - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#118249 (status was 'resolved')
Searchable as RT118249$
The text was updated successfully, but these errors were encountered: