in reply to
Is it a scalar or a hash?
wantarray
is pretty handy for scalar vs list testing...
Greetz
Beatnik
... Quidquid perl dictum sit, altum viditur.
Comment on
Re: Is it a scalar or a hash?
Replies are listed 'Best First'.
Re: Re: Is it a scalar or a hash?
by
DrZaius
(Monk)
on May 13, 2001 at 22:10 UTC
But wantarray is for use in calling context. Here, we are testing what has been passed in as arguments.
[reply]
In Section
Meditations