Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: warnings::register and Perl 5.005?

by dchetlin (Friar)
on Dec 14, 2000 at 06:10 UTC ( #46554=note: print w/ replies, xml ) Need Help??


in reply to warnings::register and Perl 5.005?

The warnings framework is new in 5.6.0, so anything that uses it is non-backportable.

And there is no way I can possibly think of to make it work for < 5.6. warnings (as most pragmas) is an internal framework -- if you look at warnings.pm and warnings/register.pm, you'll see that all they do is set some bits and variables. perl itself has to do the checking of those things. perl binary 5.005 and back don't do that checking.

Sorry :-(.

Update: Oops. Put a bare < in the second paragraph, which kinda messed up what it was supposed to say. All good now.

-dlc


Comment on Re: warnings::register and Perl 5.005?
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://46554]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (10)
As of 2014-04-23 23:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (556 votes), past polls