Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the nextgen CPAN distribution.

Report information
The Basics
Id: 62050
Status: new
Priority: 0/
Queue: nextgen

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

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



Subject: custom import -> blacklist violation
nextgen does not work like autodie's system or fatalise warnings, and when I try to force it, I get a violation. The workaround is to load the nextgen pragma last. Show quoted text
> perl -E'use autodie qw(:all); system [0], "/foo"'
"/foo" failed to start: "Datei oder Verzeichnis nicht gefunden" at (eval 55) line 13 at -e line 1 Show quoted text
> perl -E'use nextgen; system [0], "/foo"'
Can't exec "ARRAY(0x8bdd00)": Datei oder Verzeichnis nicht gefunden at -e line 1. Show quoted text
> perl -E'use nextgen; use autodie qw(:all); system [0], "/foo"'
nextgen::blacklist violation with import attempt for: [ autodie (autodie.pm) ] try 'use nextgen' instead. nextgen imports 'autodie' BEGIN failed--compilation aborted at -e line 1. Show quoted text
> perl -E'use warnings FATAL => "all"; say my $foo; say "survived"'
Use of uninitialized value $foo in say at -e line 1. Show quoted text
> perl -E'use nextgen; say my $foo; say "survived"'
Use of uninitialized value $foo in say at -e line 1. survived Show quoted text
> perl -E'use nextgen; use warnings FATAL => "all"; say my $foo; say "survived"'
nextgen::blacklist violation with import attempt for: [ warnings (warnings.pm) ] try 'use nextgen' instead. nextgen imports 'warnings' BEGIN failed--compilation aborted at -e line 1.