App-oo_modulino_zsh_completion_helper
view release on metacpan or search on metacpan
misc/cpan/MyBuilder.pm view on Meta::CPAN
67891011121314151617181920212223242526use
Module::CPANfile;
use
File::Basename;
use
File::Spec;
sub
new {
_add_zsh_fpath(
shift
->SUPER::new(
@_
)
);
}
sub
_add_zsh_fpath {
my
(
$self
) =
@_
;
my
$elem
=
'zsh_fpath'
;
$self
->add_build_element(
$elem
);
# XXX: Is this portable? only tested in Fedora...
my
$zsh_site_fpath
=
"share/zsh/site-functions"
;
samples/2-options/lib/Derived.pm view on Meta::CPAN
45678910111213141516171819202122use
strict;
use
warnings;
sub
MY () {__PACKAGE__}
use
File::AddInc;
use
base
qw(https://metacpan.org/pod/Greetings_oo_modulino_with_fields">Greetings_oo_modulino_with_fields)
;
unless
(
caller
) {
my
$self
= MY->new(
name
=>
'world'
, MY->SUPER::_parse_posix_opts(\
@ARGV
));
my
$cmd
=
shift
or
die
"Usage: $0 COMMAND ARGS...\n"
;
$self
->
$cmd
(
@ARGV
),
"\n"
;
}
1;
( run in 0.333 second using v1.01-cache-2.11-cpan-eab888a1d7d )