in reply to Forcing scalar context

Update: scalar - doh! Interesting, most of the time I use scalar to count things. I forgot that it was originally designed for another purpose.
Interesting also because IMHO it is rarely needed to count things, e.g. I see people doing all the time things like:
complain if scalar @stuff < 2;
whereas
complain if @stuff < 2;
is just as fine!