Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: die/warn bug in elsif

by radiantmatrix (Parson)
on Jan 13, 2006 at 15:04 UTC ( #523001=note: print w/replies, xml ) Need Help??


in reply to Re: die/warn bug in elsif
in thread die/warn bug in elsif

As a way of illustrating this point, here's the OP's first code block after being run through perl -MO=Deparse buggy.pl:

if (die '4') { (); }

The B::Deparse module (called by the above command) shows you the Perl equivalent of what the interpreter sees at runtime. This is extremely useful for finding this "compile-time vs. run-time" class of behaviors.

<-radiant.matrix->
A collection of thoughts and links from the minds of geeks
The Code that can be seen is not the true Code
"In any sufficiently large group of people, most are idiots" - Kaa's Law

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2020-01-23 23:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?