Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2016-09-26 23:06 GMT
Find Nodes?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:

    Results (493 votes). Check out past polls.