Do you know where your variables are? | |
PerlMonks |
Re: Net::IRC and File::Tailby cdarke (Prior) |
on Aug 16, 2007 at 08:09 UTC ( [id://632949]=note: print w/replies, xml ) | Need Help?? |
I think you may be making an incorrect assumption that File::Tail returns a file handle. I can't find anything in the documentation which supports that. ?I suggest you step through in debug to find which line your error message is coming from, however there is a problem with the first printf in your on_logentry subroutine - use double quotes instead of single (or none at all). Using printf is not necessary here, print would do.
In Section
Seekers of Perl Wisdom
|
|