develooper Front page | perl.perl5.porters | Postings from July 2003 ?

Thread Next
Elizabeth Mattijsen
July 29, 2003 02:47
Subject: ?
Message ID:
I was thinking of putting the following code (courtesy PodMaster on PerlMonks):

     eval { require warnings } or do {
         no strict 'refs';
         *warnings::import = *warnings::unimport = sub{};

as a (note the capital 'W') module on CPAN.  This would 
allow module authors to use Warnings; in modules that are supposed to 
be able to run pre 5.6.

Would that interfere with any other plans we have?  Or would it 
simplify matters?


Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About