-e fails sometimes
- From: Asterbing <no@xxxxxxxxxx>
- Date: Fri, 31 Mar 2006 21:57:55 +0200
Hello. Under ActivePerl/Apache2/Win2k, sometimes (not everytime) the
file existence test fails while the path is correct.
For example, here sometimes $fileok becomes zéro, while $file exist on
disk in fact.
if (! -e $file){$fileok = 0;}
Is-it a -e stability issue ?
Does the $file syntax should follow some rules (comes from a form and I
don't escape the "\", is that ok ?) ?
Should I go through open rather than -e ?
What do you think about that ?
.
- Follow-Ups:
- Re: -e fails sometimes
- From: Paul Lalli
- Re: -e fails sometimes
- Prev by Date: Re: multi-line regular expression help
- Next by Date: FAQ 2.15 Where can I buy a commercial version of perl?
- Previous by thread: substition in perl
- Next by thread: Re: -e fails sometimes
- Index(es):
Relevant Pages
|