my @ret = (1, '');
-CHECK:
+TRY:
{
my @args = (
abs_path($filename),
$git .= '.bat';
unless (-x $git) {
@ret = (0, "no $git executable");
- last CHECK;
+ last TRY;
}
}
} else {
unless (-x $git) {
@ret = (0, "no $git executable");
- last CHECK;
+ last TRY;
}
}
if ($? == -1) {
@ret = (0, $! || "unknown");
- last CHECK;
+ last TRY;
}
my $status;