Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 romping around the Monastery: (16)
As of 2014-11-24 18:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (144 votes), past polls