Am Sa 23. Feb 2013, 11:11:39, RIBASUSHI schrieb:
Show quoted text> Running the one-liner below
>
> wget
http://api.metacpan.org/source/RIBASUSHI/DBIx-Class-
> 0.08208/xt/pod.t -q -O - | perl -MData::Dumper -MModule::ExtractUse
> -e 'print Dumper [ Module::ExtractUse->new->extract_use(\do { local
> $/; <STDIN> })->used ]'
>
> Does not recognize the `require Test::Pod;` line :(
Fixed (in git, I will push a new release in a few minutes).
The regex that cleaned up the code to parse wasn't strict enough and
tripped over the string "Failed to load release-testing module
requirements" (which contains "require") and the fact that there was no
semicolon after the ternary operator. Thus everything from
$ENV{RELEASE_TESTING} up to require Test::Pod was interpreted as one
statement. And the not-optimal regex hit "requirements"..
Anyway, this is fixed now for require and use.
Thanks,
domm