/usr/share/doc/libdist-zilla-perl/examples/lib/Dist/Zilla/App/Command/gconf.pm is in libdist-zilla-perl 5.043-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | use strict;
use warnings;
package Dist::Zilla::App::Command::gconf;
# ABSTRACT: dump global config
use Dist::Zilla::App -command;
sub abstract { 'dump global config' }
sub opt_spec {
}
sub execute {
my ($self, $opt, $arg) = @_;
require Data::Dumper;
for my $name (keys %{ $self->zilla->_global_stashes }) {
print "[ $name ]\n";
print Data::Dumper::Dumper($self->zilla->_global_stashes->{ $name });
}
}
1;
|