From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more
123456789 use ClearCase::CtCmd qw(cleartool);# Returns an array containing three scalars: (exit status, stdout, stderr)my @results = cleartool('pwv');# Now distribute stdout to stdout, stderr to stderr, and return the exit code.print STDOUT $results[1];print STDERR $results[2];exit $results[0];
use
ClearCase::CtCmd
qw(cleartool)
;
# Returns an array containing three scalars: (exit status, stdout, stderr)
my
@results
= cleartool(
'pwv'
);
# Now distribute stdout to stdout, stderr to stderr, and return the exit code.
print
STDOUT
$results
[1];
STDERR
[2];
exit
[0];