good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: local vs myby Arien (Pilgrim) |
on Sep 03, 2002 at 08:07 UTC ( [id://194701]=note: print w/replies, xml ) | Need Help?? |
When calling open with an undefined variable for the indirect filehandle ($fh in this case), open will stick a reference to the "real" filehandle in the indirect filehandle. $fh is a lexical, what it refers to is not. — Arien
In Section
Seekers of Perl Wisdom
|
|