On Wednesday 05 May 2010, Shlomi Fish wrote:
> 2. Don't use bareword filehandles - use lexical ones:
> 
> open(my $output, ">>", $output) or die "Could not append to output - $!";

Wouldn't there be any issues if we use same name for lexical filehandle and the 
scalar variable. Is Perl too intelligent to recognize both of them?

-- 
Regards,
Akhthar Parvez K
http://Tips.SysAdminGUIDE.COM
UNIX is basically a simple operating system, but you have to be a genius to 
understand the simplicity - Dennie Richie

-- 
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