Uri Guttman <u...@stemsystems.com> writes:

> why would you expect anything but 1 as the value? shift will return 1
> value or undef. that anon array will be dereferenced to an array with
> 1 entry. the array is in scalar context which returns its
> size. elementary!
                    ^ my dear Watson.

Thank you Mr Uri (The Snot) Guttman, for the usual helpful but snotty
response.  I do appreciate it.

That de-referencing bit was news to me.


-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to