Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2014-09-24 02:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (244 votes), past polls