Bareword file handles are always global. Any thrid party, or even first party code, called while the filehandle is open can close, redirect it to a differnt file, seek to a different position, or whatever it wants. With a lexically scoped scalar you (the person writing the code to use it) has fulll controll. Using a bareword is like leaving your car unlocked... Sure no one should do anything with it, but they can if they want.
They say that time changes things, but you actually have to change them yourself.
Andy Warhol
In reply to Re^5: Sub Return Value Help
by JediWizard
in thread Sub Return Value Help
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |