|
|
| Don't ask to ask, just ask | |
| PerlMonks |
Re: local vs myby Arien (Pilgrim) |
| on Sep 03, 2002 at 08:07 UTC ( #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
|
|
||||||||||||||||||||