-e is to check whether the file exists or not(i suppose)
u try it out and reply
regards
MJ
----- Original Message -----
From: Craig R. McClanahan <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 29, 2000 11:51 AM
Subject: Re: a little offtopic
> Daniel Lynn wrote:
>
> > OK, I know this is off-topic, but it's a bit of a pain to go log onto
> > other lists and stuff for a question I only have to deal with once, so
> > please bear with me.. Does anyone out there know perl and know what this
> > line of code means?
> >
> > if (-e $datafile) {} else { open (DATA, "<<$datafile") ||
> > ShowErrMessage("Blah"); }
> >
> > I have a ecommerce program that I'm having problems with and we've
> > narrowed the problem down to this line. I don't really understand what
> > the -e is or the open statement... Thanks to anyone that knows and once
> > again, sorry for the off-topic question.
> >
>
> So you think it's worth bothering 3000 people with your totally wasted
message just
> so *you* do not have to look up the answer in someplace that might
actually have
> the answer you want?
>
> PERL questions are a good way to get you banished from this list.
>
> >
> > -Daniel
> >
>
> Craig McClanahan
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets