On Fri, Jun 5, 2009 at 07:37, Rajini Naidu <rajinid...@gmail.com> wrote:
> Hi,
>
> This is my code in perl.
>
>   my $include = "foo.1";
>  my $ct = "/usr/atria/bin/cleartool";
>
> open my $pipe, "-|", $ct, "desc", $include or die "could not run cleartool:
> $!";
>
> When i execute this , I am getting below error.
>
>   meaningless input.
>
>    Uncaught exception from user code:
>        Illegal division by zero.
>
> Is there any other way to represent below code in perl,
>
>  open my $pipe, "-|", $ct, "desc", $include or die "could not run cleartool:
> $!";
>
> Am i missing anything here. Please advise.
>
> -Rajini
>

You should not get that error from the code you posted.  Please post a
small (less than twenty lines) version of your code that produces this
problem.  Also, errors in Perl normally come with the line number
where they were found (which is not exactly the same thing as where
the error is), so this may be a cleartool error.  Does the cleartool
command work when you run it from the commandline?


-- 
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to