Perl-Sensitive Sunglasses | |
PerlMonks |
Net::IRC and File::Tailby naez (Initiate) |
on Aug 16, 2007 at 06:43 UTC ( [id://632937]=perlquestion: print w/replies, xml ) | Need Help?? |
naez has asked for the wisdom of the Perl Monks concerning the following question:
Hi all
Seeking some wisdom here... I am trying to combine these 2 modules, so that I can have the perlscript do a "tail -f" on one file and then chat the output to a channel.. I can get 2 separate programs with each module to work, but when I combine them I get an error message. What I am aiming for is to used the addfh routine to tie in the open File::Tail filehandle and trigger an event in the Net:IRC structure... makes sense? Anyhow, errormess is : Not a GLOB reference at /usr/lib/perl5/5.6.1/i386-linux/IO/Select.pm line 61. and this is part of the code...
Back to
Seekers of Perl Wisdom
|
|