App-SimulateReads
view release on metacpan or search on metacpan
lib/App/SimulateReads/CLI/App.pm view on Meta::CPAN
has 'app_path' => (
is => 'ro',
isa => 'Str',
builder => '_build_app_path'
);
sub _build_app_path {
# Determine dynamic the app path that inherit from this class
# If no one is inheriting, return this class path
my $class = (caller(1))[3];
$class =~ s/::new//;
my $command_pm = file(split /::/ => "$class.pm");
return $INC{$command_pm};
}
override 'opt_spec' => sub {
super,
'version|v'
};
( run in 0.797 second using v1.01-cache-2.11-cpan-b61123c0432 )