Re: [PBML] Use File::Tail on two (2) files at the same time
>>>>> "joel" == joel carnat <joel.carnat@...> writes:joel> I have grabbed and modify a Perl script that opens a log file and use
joel> File::Tail and regexp to fill a DB according to matching wildcards
joel> that appear in that logfile. I would like to modify this script so
joel> that it checks two log files at the same time.
POE should be able to do this rather trivially, with POE::Wheel::FollowTail.
See poe.perl.org for an overview.
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!