in reply to Re^3: help with error 'readline() on unopened filehandle'
in thread help with error 'readline() on unopened filehandle'
i understood that and updated the code as
... open my $MYFILE , "<$filename" || "Can't open the output file!"; ...
then the error changed to 'readline() on closed filehandle $MYFILE' even though i have not closed the file. this is the first code that i've written using perl and i am completely new to it. any help is appreciated. thanks.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: help with error 'readline() on unopened filehandle' (precedence, or not ||)
by Anonymous Monk on Feb 03, 2013 at 08:21 UTC | |
by Anonymous Monk on Feb 03, 2013 at 08:24 UTC | |
A reply falls below the community's threshold of quality. You may see it by logging in. |
In Section
Seekers of Perl Wisdom