| 1 |
NAME |
| 2 |
warnings::illegalproto - Disable illegal prototype warnings on old Perls |
| 3 |
|
| 4 |
VERSION |
| 5 |
version 0.001003 |
| 6 |
|
| 7 |
SYNOPSIS |
| 8 |
use strictures 1; |
| 9 |
use signatures; |
| 10 |
no warnings::illegalproto; |
| 11 |
|
| 12 |
sub ($foo) { ... } |
| 13 |
|
| 14 |
DESCRIPTION |
| 15 |
This module was implemented so that people can "use strictures" and "use |
| 16 |
signatures" at the same time. Thanks to mst, in Perl 5.12 and greater |
| 17 |
this is trivial, but before that a strange dance had to be done. |
| 18 |
|
| 19 |
This module will do the right thing for both before and after 5.12, but |
| 20 |
if you want to use the native 5.12 and greater without this module, feel |
| 21 |
free to cargo cult the following: |
| 22 |
|
| 23 |
no if $[ >= 5.012, warnings => 'illegalproto'; |
| 24 |
no if $[ < 5.012, 'warnings::illegalproto'; |
| 25 |
|
| 26 |
AUTHOR |
| 27 |
Arthur Axel "fREW" Schmidt <[email protected]> |
| 28 |
|
| 29 |
COPYRIGHT AND LICENSE |
| 30 |
This software is copyright (c) 2014 by Arthur Axel "fREW" Schmidt. |
| 31 |
|
| 32 |
This is free software; you can redistribute it and/or modify it under |
| 33 |
the same terms as the Perl 5 programming language system itself. |
| 34 |
|