> Hi,
>
> This is my code in perl.
>
> my $include = "foo.1";
> my $ct = "/usr/atria/bin/cleartool";
Try:
my $command = "$ct desc $include";
open my $pipe, '-|', $command or die "...";
You may be running into machine-dependent behavior of the LIST form of
open (see perldoc -f open).
Just an idea. I haven't thought deeply about what the error message
may mean.
--
Please take note of the changes:
Old: Michael Running Wolf <MichaelRu...@att.net
New: Michael R. Wolf <Michae...@att.net
> Am i missing anything here. Please advise.
It often helps to specify:
- perl version
- system you're running on
- complete source
(If your source was complete, you're missing
use strict;
use warnings;
in front of your program.)
-- Johan