> Hi,
> 
> I am using Mail::Bulkmail module version 3.09 for mail functionality
in one of my scripts. The
> script generates and sends around 4000 mails in a span of 3 hours and
at the end of the script
> there is one last summary mail being sent.
> But at this point, the Bulkmail generates an error saying
> 
> "Deep Recursion on subroutine Mail::Bulkmail::_process_string at
PerlApp/Mail/Bulkmail.pm line
> 1761 <HANDLE 4182> line 5"
> 
> I am running the script as an executable generated using PerlApp from
Active State.
> 
> Please do advice if you have an idea as to why this is happening.
> 

My *hunch* after a *very* quick glance at the module source is that Perl
is putting the brakes on a suspected infinite loop in a regular
expression, the offending line I think is:

$two =~
s/(?:([^\015\012]{1,$length})\b)?([^\015\012]+)/$self->_process_string($1,
$2, $length, $spaceprepend)/ge;

This is a recursive call to the '_process_string' inside of the
substituition, which I suspect is what is causing a trigger to go off in
Perl's mind.   Now what would trigger this is probably data dependent,
and the module author might be able to provide better insight on the
cause and/or the solution, or you should pick your way through the
module source since it is open....

http://danconia.org

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

Reply via email to