On Mon, Oct 07, 2002 at 08:37:15AM -0400, SilverFox wrote:
> SPAM: -------------------- Start SpamAssassin results ----------------------
> SPAM: This mail is probably spam.  The original message has been altered
> SPAM: so you can recognise or block similar unwanted mail in future.
> SPAM: See http://spamassassin.org/tag/ for more details.
> SPAM: 
> SPAM: Content analysis details:   (5 hits, 5 required)
> SPAM: FROM_NAME_NO_SPACES (-0.1 points) From: no spaces in name
> SPAM: DOUBLE_CAPSWORD    (1.1 points)  BODY: A word in all caps repeated on the line
> SPAM: FORGED_HOTMAIL_RCVD (4.0 points)  Forged hotmail.com 'Received:' header found
> SPAM: 
> SPAM: -------------------- End of SpamAssassin results ---------------------
> 
> Sanko Robinson wrote:
> 
> > "Silverfox" wrote...
> > : hey All, am trying to use the Aim module and getting this error:
> > : Code =
> > : #!/usr/bin/perl -w
> > :
> > : use Net::AIM;
> > : $aim = new Net::AIM;
> > : $aim->newconn(Screenname =>'anything',
> > :                         Password =>'duh',)
> > :                         or die "Error: Cannot Connect to Aim!";
> > :
> > : $conn = $aim->getconn();
> > : $conn->set_handler('im_in', \&on_im);
> > :
> > : print "Bot loaded successfully!!\n";
> > : $aim->start;
> > :
> > :
> > : Error =
> > : [laptop@localhost perl]$ ./aim.pl
> > : Bot loaded successfully!!
> > : Can't use an undefined value as a symbol reference at
> > : /usr/lib/perl5/site_perl/5.6.1/Net/AIM/Connection.pm line 781.
> > :         (in cleanup) No method called "handler" for  object. at ./aim..pl
> > : line 0
> > 
> > You told Net::AIM to execute &on_im when your bot (I'm guessing) receives
> > an Instant Message even though sub on_im is undefined.
> > 
> > You may want to define an handler for on_config and on_error. These two
> > aren't managed very well by the module.
> Thanks Sanko, am implementing you suggestion right now. thx for the input.


Just a heads up. Your posting format triggers SpamAssassin.
you'd be fine if you used another address. Forged hotmail
is a killer without a PGP signature.

JPK

Attachment: msg31913/pgp00000.pgp
Description: PGP signature

Reply via email to