Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Can I clean this up??

by Sifmole (Chaplain)
on Jul 24, 2002 at 11:12 UTC ( #184769=note: print w/replies, xml ) Need Help??


in reply to Can I clean this up??

print FIL "\n$ct is down at this time.\n"; open(FIL,">>$myfil") || die "No open for ct tot: $! \n";
Uh, this is bass-ackwards -- you print to the file before you open it. That isn't going to work at all.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2023-03-23 19:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (60 votes). Check out past polls.

    Notices?