http://qs321.pair.com?node_id=426191


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

Thanks for catching that typo. Unfortunately, still didn't make things work. :( Let me know what else you think. Thanks.

- Justin
  • Comment on Re^2: Net::OSCAR: Having trouble getting started

Replies are listed 'Best First'.
Re^3: Net::OSCAR: Having trouble getting started
by edoc (Chaplain) on Jan 29, 2005 at 05:49 UTC

    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