Don't ask to ask, just ask | |
PerlMonks |
Re^3: opened file being overwrittenby perishowl (Initiate) |
on Dec 13, 2012 at 20:59 UTC ( [id://1008724]=note: print w/replies, xml ) | Need Help?? |
i get the warning
readline() on unopened filehandle at file.pl line 21.
so that would be my while loop
while (<$fh>) {
print $line;
}
In Section
Seekers of Perl Wisdom
|
|