in reply to what does that value mean, when you evaluate hash in a scalar context?

Some additional nitpicking:
It gives you a FIVE, which is quite easy to understand, as it matches +$#a.
is wrong. :-) There are 5 elements in the array, the value of scalar @a. The value of $#a in a sane situation should be FOUR, that is to say, one less than @a.

:-)

--- demerphq
my friends call me, usually because I'm late....

  • Comment on Re: what does that value mean, when you evaluate hash in a scalar context?
  • Download Code