in reply to
File Open Issue
I would suggest printing $! to find out what the actual error is. Can't fix an error if you don't know what it is.
Comment on
Re: File Open Issue
Replies are listed 'Best First'.
Re^2: File Open Issue
by
Anonymous Monk
on May 31, 2005 at 16:07 UTC
There is no error printed it just says that it can't open the file based on the path
[reply]
Re^3: File Open Issue
by
jZed
(Prior)
on May 31, 2005 at 16:11 UTC
File open errors do not print by default. You must specifically put something along the lines of "or die $!" after the open.
[reply]
In Section
Seekers of Perl Wisdom