NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
OTLML sax filters (Score:1)
If I manage to fin
Re:OTLML sax filters (Score:2)
That code may not have a new method, but the BEGIN block and import code may be sufficient to do something you don't expect.
For safety's sake, you'd be better off to check to see if $pkg is one of the modules you expect to find in your namespace before blindly require'ing it dynamically through eval. There are ways to check what's available dynamically on the system before loading that module.
This kind of technique isn't as easy to exploit as the recent SOAP::Lite server issue, but that's no reason to blindly require modules that are determined exclusively from your input.
Reply to This
Parent
Re:OTLML sax filters (Score:1)