Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Can your editor do this?

by voyager (Friar)
on Apr 11, 2001 at 20:39 UTC ( [id://71734]=note: print w/replies, xml ) Need Help??


in reply to Can your editor do this?

This doesn't directly answer your question, but (using your example) why don't you take those 15 lines of obstruse code and put them in a function at the bottom of the script (i.e., out of the way) and name that function "file_exists" and have it return true/false.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-04-23 22:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found