Subject: | That's not the trick |
The docs say:
-------
The trick is that the warnings pragma is located in the core location
while the warnings.pm emulation module is installed in the site_perl
location, therefore use warnings::compat should DTRT on every Perl version.
-------
But that's not the trick (and that trick isn't safe because not everyone
orders @INC that way, or what if you used a PREFIX and PERL5LIB which
comes first?). The trick is warnings::compat won't install warnings.pm
on 5.6 and up.
Looks like some left over docs from when that was the trick.