We don't bite newbies here... much | |
PerlMonks |
Re: Local(*FILE);by clintp (Curate) |
on Jan 13, 2002 at 02:05 UTC ( [id://138334]=note: print w/replies, xml ) | Need Help?? |
As others pointed out, it's not an initialization and serves to protect the filehandle from stomping on other filehandles of the same name (in the surrounding scope).
Additionally it has another effect: when you leave that scope the filehandle is closed automagically:
In Section
Seekers of Perl Wisdom
|
|