Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^5: Removing CODE slot in typeglob / Reversing "use subs ...;"

by BrowserUk (Patriarch)
on Jan 03, 2008 at 19:13 UTC ( [id://660302]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Removing CODE slot in typeglob / Reversing "use subs ...;"
in thread Removing CODE slot in typeglob / Reversing "use subs ...;"

It's the $false playing tricks again.

Yeah. Evaling a conditional on an undefined variable in the absence of strict, is a weird way to test if something is allowed under strict.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re^5: Removing CODE slot in typeglob / Reversing "use subs ...;"

Replies are listed 'Best First'.
Re^6: Removing CODE slot in typeglob / Reversing "use subs ...;"
by lodin (Hermit) on Jan 03, 2008 at 19:24 UTC

    Doh!

    I'm so used to strict I didn't even think about that it's strict that makes barewords fatal. The root node is updated to have a (hopefully) correct test.

    No code is too short for strict ...

    lodin

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2024-04-19 07:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found