Perlbal - Re: where's the Perlbal bug tracker [PATCH]

This is Interesting: Free IT Magazines  
Home > Archive > Perlbal > November 2006 > Re: where's the Perlbal bug tracker [PATCH]





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: where's the Perlbal bug tracker [PATCH]
Brad Fitzpatrick

2006-11-06, 7:11 pm


On Mon, 6 Nov 2006, Ask Bj=F8rn Hansen wrote:

>
> On Nov 6, 2006, at 11:34 AM, Jay Buffington wrote:
>
>
> Here's a patch,
>
> Index: lib/Perlbal.pm
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
3D=3D=3D=3D=3D
> --- lib/Perlbal.pm (revision 598)
> +++ lib/Perlbal.pm (working copy)
> @@ -262,7 +262,7 @@
> if ($basecmd eq "crash") { die "Intentional crash." };
> no strict 'refs';
> - if (my $handler =3D *{"MANAGE_$basecmd"}{CODE}) {
> + if (my $handler =3D $Perlbal::{"MANAGE_$basecmd"} && *{"MANAGE_$base=

cmd"}{CODE}) {
> my $rv =3D eval { $handler->($mc); };
> return $mc->err($@) if $@;
> return $rv;


Thanks!

- Brad


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com