Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: Net::OSCAR: Having trouble getting started

by edoc (Chaplain)
on Jan 29, 2005 at 05:49 UTC ( [id://426194]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Net::OSCAR: Having trouble getting started
in thread Net::OSCAR: Having trouble getting started

ok, then the only other suggestion I would have is to add an error sub to your script. From the docs it looks like that's the only way to see errors..

something like this should do it:

sub error{ print join(' - ',@_); }

pfft! scratch that.. really shouldn't try to think perl when in the middle of a totally unrelated conversation.. The answer's still in there somewhere though I think.

ahh ok, here we go..

$oscar->set_callback_error(sub{ print join(' - ',@_) });

cheers,

J

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-25 05:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found