in reply to
Re: Is the file there?
in thread
Is the file there?
When i do that, it dies regardless... is there something i could be doing wrong to causing it?
-----------------------------
I love the smell of pastures in the morning...
/tell ahbeyra moo
Comment on
Re: Re: Is the file there?
Download
Code
Replies are listed 'Best First'.
Re:{3} Is the file there?
by
jeroenes
(Priest)
on Oct 25, 2001 at 10:10 UTC
A small wonder, if the file you try to open isn't there. The file can't be opened, and the die part is executed. Check out
Albannach
's post, and learn about the file test operator:
-f $file
.
[reply]
[d/l]
In Section
Seekers of Perl Wisdom