Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: A Tagcloud For Cory Doctorow

by McD (Chaplain)
on May 10, 2009 at 18:55 UTC ( [id://763148]=note: print w/replies, xml ) Need Help??


in reply to Re: A Tagcloud For Cory Doctorow
in thread A Tagcloud For Cory Doctorow

One question: is there any way to have it reread the "notes" file periodically without having to stop/start the script?

Sure. There are two changes needed: replace the "while (<>) ..." with more robust file handling, and add some code to re-read the file(s) provided when they change.

Not huge changes, but I guess I didn't envision this being a particularly long-lived script. I was thinking more start it up, work for a few hours, shut it down.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (2)
As of 2024-04-20 03:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found