> It's not a serious warning -- the program is doing what you coded it
> to do, and you can supress it by explicitly mentioning the filehandle in the
> print
>
> print STDOUT (('January' ..... );
Or you could force scalar context with "scalar", like:
print scalar (('Jan', ...)[-1]);
Or even:
print + (('Jan', ...)[-1]);
As always there is plenty of alternatives.
Jonathan Paton
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>