On Thu, 22 Mar 2012 13:08:53 -0700
Leo Susanto <leosusa...@gmail.com> 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: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to