Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^2: Parsing a specific section of a log fileby eriam (Beadle) |
on Mar 01, 2007 at 10:50 UTC ( [id://602674]=note: print w/replies, xml ) | Need Help?? |
I don't see why you can't do that with POE. If you have other processing to do once in a while just add it as an event in your main POE processing daemon (which is fo example tailling a log file up to now) and fire it up as often as you wish. Then it will hopefully take full advantage of POE's cooperative behaviour. Honestly implementing POE is an effort (small) but as long as you build the daemon from scratch I think it's a good choice (and you don't need cron jobs..). Anyway there is more then one way to tail a log file :)
In Section
Seekers of Perl Wisdom
|
|