> -----Original Message-----
> From: Timothy Lorenc [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 03, 2001 9:35 PM
> To: [EMAIL PROTECTED]
> Subject: Help, callback subroutine is not getting
> 
> 
> Hello;
> 
> I am programming using the following module created for Qmail to
> perform massmailings. I am having problems with the donefunc
> callback routing which is mreport() in my perl program.
>
> ...

The line:

   qspam_start($ARGV[1],mreport);

Is *calling* mreport at that point, and passing the return of
mreport to qspam_start.

You want:

   qspam_start($ARGV[1], \&mreport);

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

Reply via email to