Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Introduce "use p5isms" pragma
When this pragma is activated in a scope, then the errors about using Perl 5 constructs will *not* be thrown. This does *not* do anything else. So "defined" without any parameter will still not check $_: instead it will just complain that calling defined without any parameters will never work. And *that* allows a module to export a "defined" sub that will check $_ when called without any parameters. I realize this is close to the 2018.05 release. If it's too controversial then please remove this before the release.
- Loading branch information
Showing
2 changed files
with
27 additions
and
17 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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