in reply to [untitled node, ID 165538]

There is no set_handler object in Net::AIM, but there is in Net::Aim::Connection. I haven't tested your code out, but that seems like a good place to start.
use Net::AIM::Connection; my $conn = new Net::AIM::Connection({Screenname => 'Robotskull', Passw +ord => 'password'});
Happy Hunting!

    --jb
<rb> Update: Oops. Scratch that. Ignore me, this is wrong. Well we all make mistakes. Thanks for the tip tachyon.

Replies are listed 'Best First'.
Re: Re: Net::AIM
by tachyon (Chancellor) on May 10, 2002 at 02:04 UTC

    This is wrong. Consider this standard code:

    require LWP::UserAgent; $ua = LWP::UserAgent->new; $request = HTTP::Request->new('GET', 'file://localhost/etc/motd'); $response = $ua->request($request); # or

    How can we use HTTP::Request and the new method in it? - because LWP::UserAgent used it for us making it available.

    For the actual problem, how I found it, and how to fix it see below.

    cheers

    tachyon

    s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print