Query: warnings::illegalproto
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
warnings::illegalproto(3pm) User Contributed Perl Documentation warnings::illegalproto(3pm)NAMEwarnings::illegalproto - Disable illegal prototype warnings on old PerlsVERSIONversion 0.001000SYNOPSISuse strictures 1; use signatures; no warnings::illegalproto; sub ($foo) { ... }DESCRIPTIONThis module was implemented so that people can "use strictures" and "use signatures" at the same time. Thanks to mst, in Perl 5.12 and greater this is trivial, but before that a strange dance had to be done. This module will do the right thing for both before and after 5.12, but if you want to use the native 5.12 and greater without this module, feel free to cargo cult the following: no if $[ >= 5.012, warnings => 'illegalproto'; no if $[ < 5.012, 'warnings::illegalproto';AUTHORArthur Axel "fREW" Schmidt <frioux+cpan@gmail.com>COPYRIGHT AND LICENSEThis software is copyright (c) 2010 by Arthur Axel "fREW" Schmidt. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.10.1 2010-11-12 warnings::illegalproto(3pm)
Similar Topics in the Unix Linux Community |
---|
Installing Dash Shell on OS X Lion |
awk or sed - Convert 2 lines to 1 line |
How can I do this in VI editor? |
A (ksh) Library For and From UNIX.com |
My first PERL incarnation... Audio Oscillograph |