App-Yath-Script
view release on metacpan or search on metacpan
lib/App/Yath/Script.pm view on Meta::CPAN
sub do_begin {
# Check for an explicit version as the very first argument (V# or v#).
# Strip it from @ARGV before anything else sees it.
my $cli_version;
if (@ARGV && $ARGV[0] =~ /^[Vv](\d+)$/) {
$cli_version = int($1);
shift @ARGV;
}
my $argv = [@ARGV];
my @caller = caller();
my $exec = 0;
$SCRIPT = clean_path($caller[1]);
$ENV{YATH_SCRIPT} = $SCRIPT;
inject_includes();
my $local_vers = install_local_lib();
( run in 1.521 second using v1.01-cache-2.11-cpan-437f7b0c052 )