Skip Menu |

This queue is for tickets about the TomKit CPAN distribution.

Report information
The Basics
Id: 16868
Status: open
Priority: 0/
Queue: TomKit

People
Owner: Nobody in particular
Requestors: cpan [...] babyl.dyndns.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.01_2
Fixed in: (no value)



Subject: Dangerous use of $_ in anonymous foreach loop
In TomKitEngine.pm's runEngine, an anonymous foreach is used: foreach ( @processorChain ) { $_->setUp(); $dom = $_->process($dom); ... $processor = $_; } This will break if process() does anything to $_. A suggestion of a patch is included.
Download patch
application/octet-stream 1.1k

Message body not shown because it is not plain text.

I've asked the maintainer and he is not doing perl anymore. His modules are up for grab. So if anyone wants it, ask him and he will give you co-maint on pause, so that you can apply those patches. -- Reini Urban
On Thu Feb 09 12:05:50 2012, RURBAN wrote: Show quoted text
> I've asked the maintainer and he is not doing perl anymore. > His modules are up for grab. > So if anyone wants it, ask him and he will give you co-maint on pause, so > that you can apply those patches.
I'm game. :-)
Subject: Re: [rt.cpan.org #16868] Dangerous use of $_ in anonymous foreach loop
Date: Thu, 09 Feb 2012 12:52:13 -0500
To: bug-TomKit [...] rt.cpan.org, tomson [...] cpan.org
From: Yanick Champoux <yanick.champoux [...] gmail.com>
Tom, As mentioned in the ticket, if you are willing, I can take co-maintainership of TomKit. I don't see much further development on it, as AxKit has died down in those last few years, but I can make sure patches are applied and the garden is kept nice and tidy. :-) Joy, `/anick
aaand the new version is on CPAN. And it seems that, indeed, as it's all trial versions, I was able to take over without any fuss. :-)