http://code.google.com/p/perl-net-jabber-bot/
Todd
Changes:
1. Moose has different new. You pass in a hash, not a hash ref:
Do this: NJB->new(value1 => "djd", value2 => "sss");
instead of: NJB->new({value1 => "djd", value2 => "sss"});
2. Changed values used to pass in callback functions. Now called:
message_function, background_function. I'm open to suggestions on
this. Look at the module for all the "has" variables. Anything on that
list is open season to pass in via new. I need to update
examples/docs.
3. Using Moose, so bad pass in to new will result in a die signal. If
you want it to die gracefully, you'll have to do:
eval {NJB->new(...)};
if($@) {
React to bad event here.
}
All of these changes are to get me out Class::Std, which just was
never adopted and is somewhat abandoned in favor of Moose.
Again, all of this is very much pre-release. I garuntuee nothing at
the moment. I'm very interested in input from you guys who are using
the product.
Thanks,
Todd
> --~--~---------~--~----~------------~-------~--~----~
> You received this message because you are subscribed to the Google
> Groups "perl-net-jabber-bot" group.
> To post to this group, send email to perl-net-...@googlegroups.com
> To unsubscribe from this group, send email to perl-net-jabber...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/perl-net-jabber-bot?hl=en
> -~----------~----~----~----~------~----~------~--~---
>
--
Todd Rinaldo
to...@null.net