warnings::illegalproto(3pm)

warnings::illegalproto3pm

Disable illegal prototype warnings on old perls

Usage

 use strictures 1;
 use signatures;
 no warnings::illegalproto;
 sub ($foo) { ... }

Version

version 0.001003

Overview

This 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';

Releases

7 releases since Debian 7 (Wheezy); the text changed 3 times.

  1. 7
  2. 8–10
  3. 11
  4. 12–13

Author

Arthur Axel "fREW" Schmidt <[email protected]>

From libwarnings-illegalproto-perl 0.001003-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.