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.
Message body not shown because it is not plain text.