I'm pretty sure you can't load a module on that line -- that's the
"Safe" compartment limitation to avoid PAUSE running arbitrary perl
code, which could cause a server compromise:
our $VERSION = do { use Malicious::Hack; 1 };
If you've got IRC, jump onto irc.perl.org in the #toolchain channel
and ask for help there and someone (maybe me) will be able to give you
options for what to do.
My 2cents -- consider using a tool like the one bundled in
Perl::Version to set a version into all your modules at once instead
of trying to pick it up from a "main" module. Or, just set the
version in your main module and leave the rest of them with an undef
version.
Regards,
David
On Mon, May 5, 2014 at 3:44 PM, NebCon, Inc <[email protected]> wrote:
> Hi CPAN Guys;
> Pardon my frustration, after wrestling with Perl's versioning
> issues (distribution vs file vs formats vs ...),
> getting fairly successfully through cpantesters and Kwalitee,
> and then when I think I've finally got a Proper release,
> I get a brand new puzzle.
>
> I guess the first question is: What is the impact of
> failing the PAUSE indexer on a Version parsing problem?
> (It seems that both CPAN & CPANTesters are seeing the
> new module)
>
> There was no issue raised in CPANTesters with
> development releases (with underscore);
> presumably they don't get "indexed".
> The version number is overtly in the upload,
> and also should be in META.yml.
>
> Thanks;
> bruce
>
>
> -------- Original Message --------
> Subject: Failed: PAUSE indexer report BRMILLER/LaTeXML-0.8.0.tar.gz
> Date: Mon, 5 May 2014 18:29:13 +0000
> From: PAUSE <[email protected]>
> To: [email protected], [email protected]
>
> The following report has been written by the PAUSE namespace indexer.
> Please contact [email protected] if there are any open questions.
>
> User: BRMILLER (Bruce Miller)
> Distribution file: LaTeXML-0.8.0.tar.gz
> Number of files: 1046
> *.pm files: 96
> README: LaTeXML-0.8.0/README
> META-File: LaTeXML-0.8.0/META.json
> META-Parser: Parse::CPAN::Meta 1.4404
> META-driven index: no
> Timestamp of file: Mon May 5 18:26:56 2014 UTC
> Time of this run: Mon May 5 18:29:13 2014 UTC
>
> Status of this distro: Version parsing problem
> ==============================================
>
> The following packages (grouped by status) have been found in the distro:
>
> Status: Version parsing problem
> ===============================
>
> module : LaTeXML
> version: undef
> in file: LaTeXML-0.8.0/lib/LaTeXML.pm
> status : The PAUSE indexer was not able to parse the following line
> in that file: C< $LaTeXML::VERSION = do { use
> LaTeXML::Version; $LaTeXML::Version::VERSION; }; > Note:
> the indexer is running in a Safe compartement and cannot
> provide the full functionality of perl in the VERSION line.
> It is trying hard, but sometime it fails. As a workaround,
> please consider writing a META.yml that contains a
> 'provides' attribute or contact the CPAN admins to
> investigate (yet another) workaround against "Safe"
> limitations.)
>
> Status: Successfully indexed
> ============================
>
> module : LaTeXML::Common::Color
> version: undef
> in file: LaTeXML-0.8.0/lib/LaTeXML/Common/Color.pm
> status : indexed
>
> module : LaTeXML::Common::Color::Derived
> version: undef
> in file: LaTeXML-0.8.0/lib/LaTeXML/Common/Color/Derived.pm
> status : indexed
>
>
> [a whole bunch of stuff]
>
> __END__
>
>
--
David Golden <[email protected]> Twitter/IRC: @xdg