Ilya Zakharevich on Mon, 15 Sep 2003 09:39:24 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Perl script help may be OT


On Mon, Sep 15, 2003 at 01:58:50AM -0500, Manish wrote:
> #!/usr/bin/perl -w
> use strict;
> use Math::Pari;
> use Math::PariInit;

[OT]: there is no sense to use PariInit *after* use Math::Pari.  There
      is no sense to use Math::PariInit without arguments.

      The only reason for `use PariInit' is to process arguments *before*
      PARI is loaded (the standard Perl-enforced order of evaluation
      of `use' makes things hard to implement otherwise).

> print $determinant;
> gives PARI:   ***   obsolete function: O(det2($try_key_mat))
>                            ^------------------

 perldoc Math::libPARI
 perldoc Math::libPARI.dumb

(whatever is better for your reader).

Yours,
Ilya