in reply to Net::IRC and File::Tail

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.

Replies are listed 'Best First'.
Re^2: Net::IRC and File::Tail
by naez (Initiate) on Aug 16, 2007 at 08:59 UTC
    Thnkas for the quick reply.
    it might be as you suggest, so then I would have to use some other means to do a "tail -f" in conjunction with Net::IRC
    , as the only way that Net::IRC can get external data in is through a filehandle...

    Any suggestions? Not that good with the IO parts...