On Wed, Oct 16, 2002 at 04:03:17PM +1000, Systems Administrator wrote:

> According to the Man page this is possible by referencing the array
> which to my knowledge I am doing, however the message only gets sent
> to the first person in the array.

        Ahh, but you're _not_ passing a reference to the array. You
might want to read "man perlref" to get a better grip on how references
work before you continue. In any event, the syntax you want is:

        $kernel->post( 'OraBot', 'privmsg', \@recpts, "blah blah" );

_________________________________________________________________________
Dennis Taylor           "Anyone whose days are all the same and free from
[EMAIL PROTECTED]    want inhabits eternity of a sort."  - Peter Hoeg
_________________________________________________________________________
   PGP Fingerprint: A40B 4A41 F140 9196 C598  B096 5324 F39E 42F9 9A11

Reply via email to