Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Net::IRC and File::Tail

by cdarke (Prior)
on Aug 16, 2007 at 08:09 UTC ( [id://632949]=note: print w/replies, xml ) Need Help??


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...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://632949]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-04-25 09:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found