Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^4: if -s clause on a FILEHANDLE

by drock (Beadle)
on Jun 08, 2004 at 21:43 UTC ( [id://362569]=note: print w/replies, xml ) Need Help??


in reply to Re^3: if -s clause on a FILEHANDLE
in thread if -s clause on a FILEHANDLE

Is there a ideal way to "touch" a file instead of opening a file then >$foo it? for example,
my $foo="/tmp/ftapes_runfile"; open (RUNFILE, ">$foo") || die "could not open runfile: $!;" close (RUNFILE);
thanks!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (8)
As of 2024-04-18 11:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found