Skip Menu |

This queue is for tickets about the Data-Dump-Streamer CPAN distribution.

Report information
The Basics
Id: 118698
Status: new
Priority: 0/
Queue: Data-Dump-Streamer

Owner: Nobody in particular
Requestors: KENTNL [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: VERSION declaration not static-safe

Static analysis of without Data::Dump::Streamer in @INC causes Module::Metadata to fail.

$VERSION declarations are better off being static in some way, or at least, having a *fake* VERSION declaration that EUMM/Module::Metadata can detect if you need the numbers to be runtime-dynamic.


Error evaling version line ' my $dummy = q#  Hide from _packages_inside()
    #; package Module::Metadata::_version::p1;
    use version;
    sub {
      local $VERSION;
      use Data::Dump::Streamer (); BEGIN{ *DDS:: = \%Data::Dump::Streamer:: } $VERSION=$DDS::VERSION;;
      return $VERSION if defined $VERSION;
      return $Module::Metadata::_version::p1::VERSION;
  ' in /usr/lib64/perl5/vendor_perl/5.24.1/x86_64-linux/ Can't locate Data/Dump/ in @INC (you may need to install the Data::Dump::Streamer module) (@INC contains: /home/kent/perl5/perlbrew/perls/5.25.6-nossp-sdbm-nopmc/lib/site_perl/5.25.6/x86_64-linux /home/kent/perl5/perlbrew/perls/5.25.6-nossp-sdbm-nopmc/lib/site_perl/5.25.6 /home/kent/perl5/perlbrew/perls/5.25.6-nossp-sdbm-nopmc/lib/5.25.6/x86_64-linux /home/kent/perl5/perlbrew/perls/5.25.6-nossp-sdbm-nopmc/lib/5.25.6 .) at (eval 5) line 6, <$handle> line 2.
BEGIN failed--compilation aborted at (eval 5) line 6, <$handle> line 2.

- Gentoo Perl Maintainer ( )

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to