Occasionally I see in scripts other people write, the idiom
local (*FILE)where FILE is the filehandle being initialized. The question is, why do this? I always just create my filehandles when I need them, by assigning them names in my open(FILE,"$file") statements. Is there a really good reason to initialize them ahead of time with local?
In reply to Local(*FILE); by theguvnor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |