ClearCase-Wrapper
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
return Pred("$elem@\@$pred", $count-1, $ct);
} else {
return $vers;
}
}
# Examines supplied arg vector, returns the explicit or implicit working view.
sub ViewTag {
my $vtag;
if (@_) {
local(@ARGV) = @_;
GetOptions("tag=s" => \$vtag);
}
if (!$vtag) {
require Cwd;
my $cwd = Cwd::fastgetcwd;
if (MSWIN) {
$cwd =~ s/^[A-Z]://i;
$cwd =~ s%\\%/%g;
}
if ($cwd =~ m%/+view/([^/]+)%) {
cleartool.dbg view on Meta::CPAN
if (@ARGV) {
exit one_cmd;
} else {
my $rc = 0;
my $interactive = -t STDIN;
require Text::ParseWords;
print "$prog", $status ? $status : '', '> ' if $interactive;
while (my $line = <>) {
chomp $line;
last if $line =~ '^(quit|exit)$';
local @ARGV = Text::ParseWords::shellwords($line);
$rc = one_cmd;
if ($status) {
print "Command $status returned status $rc\n";
$status++;
}
print "$prog", $status?" $status":'', '> ' if $interactive;
}
exit $rc;
}
cleartool.plx view on Meta::CPAN
if (@ARGV) {
exit one_cmd;
} else {
my $rc = 0;
my $interactive = -t STDIN;
require Text::ParseWords;
print "$prog", $status ? $status : '', '> ' if $interactive;
while (my $line = <>) {
chomp $line;
last if $line =~ '^(quit|exit)$';
local @ARGV = Text::ParseWords::shellwords($line);
$rc = one_cmd;
if ($status) {
print "Command $status returned status $rc\n";
$status++;
}
print "$prog", $status?" $status":'', '> ' if $interactive;
}
exit $rc;
}
view all matches for this distributionview release on metacpan - search on metacpan
( run in 1.001 second using v1.00-cache-2.02-grep-82fe00e-cpan-c9a218a2bbc )