Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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

by edoc (Chaplain)
on Jan 29, 2005 at 05:49 UTC ( #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? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (None)
    As of 2022-01-26 06:29 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      In 2022, my preferred method to securely store passwords is:












      Results (69 votes). Check out past polls.

      Notices?