in reply to Closing and re-opening the DATA Filehandle
I assume you "exit" your program when done.
why not use this instead:
timtowtdi though...# replace exit(0); with: exit(close(DATA)); # or (at beginning of script) sub exit_script { close(DATA); exit(0); } # then replace your exit calls with exit_script;
cLive ;-)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: a flash of inspiration...
by Adam (Vicar) on Apr 05, 2001 at 01:29 UTC | |
by cLive ;-) (Prior) on Apr 05, 2001 at 01:41 UTC | |
by Adam (Vicar) on Apr 05, 2001 at 01:51 UTC |
In Section
Seekers of Perl Wisdom