so i could do?:

#!c:\perl\bin\perl.exe

uses ***

****
if (-e "c:\config.sys") {
****


From: Arran
=======
It is obvious:
  The only program that parses Perl is perl, and to really be
  Perl you also have to be perl.  The easiest way to turn
  Perl code into an executable is to embed the perl interpreter!

song: "If you are sexy and you know it clap your hands"
Me: im going to go have to sit this one out...

If builders built buildings the way programmers wrote programs, then the
first woodpecker to come along would destroy civilization.

We are the out casts of society, but when they relise its the out casts that
create society, we will fall.

Everything I know about thermal expansion I learnt from Neon Genesis
Evangelion!

And there's always those days where you start sending out emails with
semicolons at the end of the sentences.  Yesterday I even caught myself
writing code on a piece of napkin on my lunch.  I'm afraid the day will
finally come where I start trying to rearrange all of my paragraphs into a
single sentence.  I mean sure, noone will know what the hell
----- Original Message -----
From: "Matt C." <[EMAIL PROTECTED]>
To: "Perl Beginners List" <[EMAIL PROTECTED]>
Sent: Monday, May 20, 2002 12:27 AM
Subject: Re: File exists


> use the -e operator...
>
> C:\>perl -e "print qq(file exists!) if -e 'c:\autoexec.bat'"
>
> Output:
>
> file exists!
>
>
> perldoc -f -e will tell you more.
>
> Matt
>
> --- Arran4 <[EMAIL PROTECTED]> wrote:
> > How do i find out if a file exists in ActivePerl?
> >
> >
> > From: Arran
> > =======
> > It is obvious:
> >   The only program that parses Perl is perl, and to really be
> >   Perl you also have to be perl.  The easiest way to turn
> >   Perl code into an executable is to embed the perl interpreter!
> >
> > song: "If you are sexy and you know it clap your hands"
> > Me: im going to go have to sit this one out...
> >
> > If builders built buildings the way programmers wrote programs, then the
> > first woodpecker to come along would destroy civilization.
> >
> > We are the out casts of society, but when they relise its the out casts
that
> > create society, we will fall.
> >
> > Everything I know about thermal expansion I learnt from Neon Genesis
> > Evangelion!
> >
> >
> >
> > --
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> LAUNCH - Your Yahoo! Music Experience
> http://launch.yahoo.com
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> ____________________________________________
> http://1cis.com
> Free E-mail Servers with unlimited mailboxes
> 1st Class Internet Solutions



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to