in reply to Re^4: Sub Return Value Help
in thread Sub Return Value Help
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Sub Return Value Help
by gellyfish (Monsignor) on Aug 01, 2005 at 18:46 UTC | |
by JediWizard (Deacon) on Aug 01, 2005 at 23:03 UTC | |
by gellyfish (Monsignor) on Aug 02, 2005 at 07:57 UTC | |
by fishbot_v2 (Chaplain) on Aug 02, 2005 at 13:30 UTC |