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

Re: Tell me how it works!

by jethro (Monsignor)
on Jan 28, 2009 at 14:49 UTC ( #739590=note: print w/ replies, xml ) Need Help??


in reply to Tell me how it works!

From the camel-book:

Use only on a scalar value, an entire array or hash, or a subroutine n +ame. ... The undef function will probably not do what you expect on most specia +l variables


Comment on Re: Tell me how it works!
Download Code
Re^2: Tell me how it works!
by citromatik (Curate) on Jan 28, 2009 at 15:21 UTC

    Hmmm... That is not what the documentation says (at least for versions 5.10 and 5.8.8)

    undef - Undefines the value of EXPR, which must be an lvalue. Use only on a scalar value, an array (using "@"), a hash (using "%"), a subroutine (using "&"), or a typeglob (using "*")

    citromatik

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2015-07-06 08:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (70 votes), past polls