Hi,
I am completely new to Perl. I am trying to build a basic IRC bot.
In the module Bot::BasicBot
, what does the line my ($self, $message) = @_;
in the "said" function mean?
I do know that my
is for private, and @_
is the array for receiving parameters in the function, but how is a hash reference passed here?
Also, how do I access the parameters "who", "address", "body"? Thanks.