in reply to
Contents of file not printed to STDOUT
You are reading from a file opened for writing. You can solve this by reopening for the file for reading.
Comment on
Re: Contents of file not printed to STDOUT
Replies are listed 'Best First'.
Re^2: Contents of file not printed to STDOUT
by
nt2282
(Novice)
on Jan 31, 2011 at 18:00 UTC
Thanks, i got it working. @ananymous monk - I tried the suggestion already but did not work for me. I needed to reopen the file in read mode and that worked. Thanks
[reply]
In Section
Seekers of Perl Wisdom