in reply to
Re: Splitting long file
in thread
Splitting long file
Perl is smart enough to close the old file when you open another file on the same filehandle, therefore this isn't a problem.
Comment on
Re: Re: Splitting long file
Replies are listed 'Best First'.
Re: Re: Re: Splitting long file
by
eXile
(Priest)
on Apr 08, 2004 at 16:37 UTC
then I've learned something from this thread as well. Thanks tilly!
[reply]
Re: Re: Re: Re: Splitting long file
by
runrig
(Abbot)
on Apr 08, 2004 at 21:34 UTC
It would be a problem in my solution
below
if I did not have the 'close' statement.
[reply]
In Section
Seekers of Perl Wisdom