Re: Perl query

[email protected] (Michael Running Wolf) Fri, 5 Jun 2009 12:52:26 -0700
Newsgroups perl.trainers
Message-ID <[email protected]>
On Jun 5, 2009, at 10:58 AM, Rajini Naidu wrote:

> 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 <[email protected]
   New: Michael R. Wolf <[email protected]