Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Is the file there?

by graq (Curate)
on Oct 25, 2001 at 12:19 UTC ( [id://121399]=note: print w/replies, xml ) Need Help??


in reply to Is the file there?

There seems to to be a few answers that do a little more than you asked in your original question.
So I'll try to help with a more minimalist answer (offering my share of TIMTOWTDI):
#!/usr/bin/perl -w use strict; my $file = $ARGV[0]||__FILE__; print "WARNING: $file exists\n" if( -e $file );

<a href="http://www.graq.co.uk">Graq</a>

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://121399]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (1)
As of 2024-04-19 00:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found