in reply to
Attempt to free temp prematurely and unreferenced scalar
how are you loading and moving through your file?
something like
while (<INFILE>)
will attempt to load the entire file into memory, while:
while (defined(<INFILE>))
will just read one line at a time.
ryanc
Comment on
Re: Attempt to free temp prematurely and unreferenced scalar
Replies are listed 'Best First'.
Re^2: Attempt to free temp prematurely and unreferenced scalar
by
Anonymous Monk
on Feb 24, 2006 at 13:34 UTC
No they are the SAME. Because the compiler adds the "defined" when it sees a diamond only in a "while".
[reply]
In Section
Seekers of Perl Wisdom