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

People
Owner: Nobody in particular
Requestors: KENTNL [...] cpan.org
Cc:
AdminCc:

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



Subject: DDS.pm VERSION declaration not static-safe

Static analysis of DDS.pm 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/DDS.pm: Can't locate Data/Dump/Streamer.pm 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.
 

-- 
- CPAN kentnl@cpan.org
- Gentoo Perl Maintainer kentnl@gentoo.org ( perl@gentoo.org )
 



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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.