Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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

Replies are listed 'Best First'.
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 "*")


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://739590]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2017-04-30 12:34 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (537 votes). Check out past polls.