Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: File open issue

by Anonymous Monk
on Dec 19, 2012 at 19:12 UTC ( #1009607=note: print w/replies, xml ) Need Help??


in reply to Re: File open issue
in thread File open issue

What about this:
if(-r $tempfile) { open (TMPFILE, "$tempfile") or die "Can't open $tempfile: $!"; (@tmpfile) = <TMPFILE>; close TMPFILE; }else { $nofile = "1"; }

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1009607]
help
Chatterbox?
vrk gets a cup of tea to wash down the cookies.

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (9)
As of 2017-04-26 13:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (480 votes). Check out past polls.