Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Checking if File Exists

by unixwzrd (Beadle)
on Feb 22, 2001 at 13:52 UTC ( [id://60170]=note: print w/replies, xml ) Need Help??


in reply to Checking if File Exists

I suspect you want this:
if ( -e "registry/$Path/$FILENAME" ) { print "<p align=\"center\"><A HREF=\"http://www.surnameweb.org/regi +stry/$Path/$FILENAME\">$CRITERIA</A>"; } else{ print "\n"; }
Though the "else..." is probably unnecessary.

Hope that helps...

Mike

"The two most common elements in the universe are hydrogen... and stupidity."
Harlan Ellison

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2024-04-23 09:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found