Subject: | Problem with example in POD |
Hello,
I have a problem with an example provided in the POD. I am using Module-Build-0.2611
The autofeatures example does not seem to work:
auto_features => {
pg_support => {
description => "Interface with Postgres databases",
requires => q{ DBD::Pg >= 23.3 && DateTime::Format::Pg
},
},
This example take from the POD does not work, but changing the 'requires' to:
{ DBD::Pg => 1.32 },
Not quoting it seem to work just fine. The error coming from the module is the following:
% perl Build.PL
Checking whether your kit is complete...
Looks good
Can't use string (" DBD::Pg => 1.32 ") as a HASH ref while "strict refs" in use at /Library/Perl/5.8.1/Module/Build/Base.pm line 808.
This is my perl version: This is perl, v5.8.1-RC3 built for darwin-thread-multi-2level
Thanks for a magnificent module btw,
jonasbn