CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
testing files?

 



ultimategamer2k
User

Feb 13, 2001, 5:23 PM

Post #1 of 2 (499 views)
testing files? Can't Post

is there a way to test if a file has been open????


visit my web site at http://ultimategamer.cjb.net


slycer
stranger

Feb 14, 2001, 7:01 AM

Post #2 of 2 (494 views)
Re: testing files? [In reply to] Can't Post

I'm assuming you mean a "file open within a perl script". If that's the case, do it when you open the file.

Ie:

open (FH, "myfile") or die "Could not open file: $!";


 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives