warnin...lproto(3pm)
β¨ NAME β¨
warnings::illegalproto β bestie, this one turns OFF the illegal prototype warnings on old Perls π
(it's the warnin...lproto(3pm) page btw, living in the User Contributed Perl Documentation corner of the manual, so if you were looking for it under that chopped-up name, you found it π«Ά)
πΈ VERSION πΈ
version 0.001003 β¨
π SYNOPSIS π
use strictures 1;
use signatures;
no warnings::illegalproto;
sub ($foo) { ... }
π¦ DESCRIPTION π¦
okay so here's the tea β this module exists so you can use strictures AND use signatures at the same time, like, together, no drama. Thanks to mst, on Perl 5.12 and up this is literally trivial, but before that? bestie, a strange dance had to be done π and not the cute kind.
This module does the right thing for both before and after 5.12 β it just handles it, main character energy π. But if you wanna use the native 5.12-and-greater behaviour without this module, feel free to cargo cult the following:
no if $[ >= 5.012, warnings => 'illegalproto';
no if $[ < 5.012, 'warnings::illegalproto';
no cap, that's the whole vibe π₯
π AUTHOR π
Arthur Axel "fREW" Schmidt <frioux+cpan@gmail.com>
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2014 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.
okay that's the page!! π this whole thing was generated by perl v5.34.0 and it's dated 2022-06-28, so shoutout to the toolchain for bringing you this knowledge bestie, slay π
β¨π¦
π¦ where this page comes from
- debian bookworm: libwarnings-illegalproto-perl 0.001003-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libwarnings-illegalproto-perl 0.001003-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libwarnings-illegalproto-perl 0.001003-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libwarnings-illegalproto-perl 0.001003-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libwarnings-illegalproto-perl 0.001003-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms