Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: If File Existsby cds (Sexton) |
on Jun 19, 2000 at 14:10 UTC ( [id://18782]=note: print w/replies, xml ) | Need Help?? |
You may also want to check that it's a file (not a directory or special file), and that it's readable and writeable. Try:
You can put all the checks in the one if by anding them if you only need to check that the file exists and is accessable. Colin ScottIf you build it, they will be dumb...
In Section
Seekers of Perl Wisdom
|
|