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 <michaelrunningw...@att.net
  New: Michael R. Wolf <michaelrw...@att.net




Reply via email to