Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: my behavior with "NULL" declarations

by dsb (Chaplain)
on Jul 08, 2004 at 18:11 UTC ( #372893=note: print w/ replies, xml ) Need Help??


in reply to Re: my behavior with "NULL" declarations
in thread my behavior with "NULL" declarations

I got the same thing when using a literal. So then its something about the shift that my doesn't like. It's weird that it's like that since that's not the piece being declared. Why would my care whether or not the condition is NULL since it only one of the other two parts that get's returned by the condition? At least I think...

dsb
This is my cool %SIG


Comment on Re^2: my behavior with "NULL" declarations
Re^3: my behavior with "NULL" declarations
by dragonchild (Archbishop) on Jul 08, 2004 at 18:18 UTC
    At compile-time, the expression is NULL. At run-time, it will do stuff, but compile-time doesn't know that yet.

    ------
    We are the carpenters and bricklayers of the Information Age.

    Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose

    I shouldn't have to say this, but any code, unless otherwise stated, is untested

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (9)
As of 2014-11-26 13:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (171 votes), past polls