Skip Menu |

This queue is for tickets about the Proc-Reliable CPAN distribution.

Report information
The Basics
Id: 2946
Status: resolved
Priority: 0/
Queue: Proc-Reliable

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: function execution fails for some perl versions
filed on behalf of Ramana Mokkapati <mvr707@yahoo.com>. code fragment below seems work with with Perl 5.8.0, but NOT 5.6.1. [SAMPLE] use Proc::Reliable; #Proc::Reliable::debug(1); my $p = Proc::Reliable->new(); $p->num_tries(4); $p->time_per_try(3); $p->maxtime(100); $p->time_btw_tries(1); ($stdout, $stderr, $status, $msg) = $p->run(sub { my $i = 1; while (1) { print "Hello $i\n"; $i++; sleep(1); } }); print "==> $stdout\n"; print "==> $stderr\n"; print "==> $status\n"; print "==> $msg\n"; [/SAMPLE]