"G.D. Bell" wrote:

> # Variables
> $alt_nick = "set_alt_nick";
> ...
> # Away Functions
> IRC::add_command_handler("gbell72", set_alt_nick);
> IRC::add_command_handler("gbell72|afk", set_alt_nick);

So what is going on here?  I see a bareword being offered to a function.  This seems 
to me that it should raise that error.  The original assignment looks like it is 
right, presuming that "set_alt_nick" is a standard command in IRC.  The problem is 
that instead of using the variable you've created, you offer the interpreter something 
it doesn't know what to do with.  This should [probably be more like:

IRC::add_command_handler("gbell72", $alt_nick );

Joseph


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to