Subject: | Data-Dumper shows in "Provides" marked as "Unauthorized" |
If the { package Data::Dumper } block is required, the package line should be hidden from PAUSE by something like this
package # hide from PAUSE
Data::Dumper;
Though ideally you shouldn't be changing Data::Dumper's package variables without localizing them (use vars doesn't), something like
my $var = do {
local $Data::Dumper::Terse = 1;
Data::Dumper::Dumper( $x );
};
package # hide from PAUSE
Data::Dumper;
Though ideally you shouldn't be changing Data::Dumper's package variables without localizing them (use vars doesn't), something like
my $var = do {
local $Data::Dumper::Terse = 1;
Data::Dumper::Dumper( $x );
};