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


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

screename should be screenname? (double n)

cheers,

J

  • Comment on Re: Net::OSCAR: Having trouble getting started

Replies are listed 'Best First'.
Re^2: Net::OSCAR: Having trouble getting started
by jpk236 (Monk) on Jan 29, 2005 at 05:33 UTC
    Thanks for catching that typo. Unfortunately, still didn't make things work. :( Let me know what else you think. Thanks.

    - Justin

      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