On Thu, 22 Mar 2012 13:08:53 -0700 Leo Susanto <[email protected]> wrote:
> you should do
>
> print {$hdl} "a line\n";
>
> instead of
>
> print $hdl "a line\n";
>
Thanks for this. Didn't know that. Why is this required?
It works also without {}.
--
Manfred
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/
