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

Re: perldoc bug?



This one time, at band camp, Jason Pepas said:
> hmm...
> 
> (pts/4)jason@marsala:~$ perldoc -f sin
> No documentation found for "perlfunc".
> 
> hrmm...
> 
> (pts/4)jason@marsala:~$ dpkg -l | grep perl
> ii  libft-perl     1.2-13.1       Perl module for the FreeType library
> ii  libperl5.6     5.6.1-7        Shared Perl library.
> ii  libperl5.8     5.8.0-14       Shared Perl library.
> ii  libsgmls-perl  1.03ii-23      Perl modules for processing SGML parser outp
> ii  perl           5.8.0-15       Larry Wall's Practical Extraction and Report
> ii  perl-base      5.8.0-15       The Pathologically Eclectic Rubbish Lister.
> ii  perl-doc       5.6.1-7        Perl documentation.
> ii  perl-modules   5.8.0-15       Core Perl modules.
> ii  perl-tk        800.024-1.1    Perl module providing the Tk graphics librar
> 
> -jason

Probably a version problem.

steve:~$ perldoc -f sin
       sin EXPR
       sin     Returns the sine of EXPR (expressed in radians).  If EXPR is
               omitted, returns sine of $_.

               For the inverse sine operation, you may use the
               "Math::Trig::asin" function, or use this relation:

                   sub asin { atan2($_[0], sqrt(1 - $_[0] * $_[0])) }

steve:~$ dpkg -l perl-doc
ii  perl-doc       5.8.0-15       Perl documentation.

Upgrade and try again.  If it persists, file a bug.
-- 
 --------------------------------------------------------------------------
|  Stephen Gran                  | Thirty white horses on a red hill,      |
|  steve@lobefin.net             | First they champ, Then they stamp, Then |
|  http://www.lobefin.net/~steve | they stand still.   -- Tolkien          |
 --------------------------------------------------------------------------

Attachment: pgp5QjPsN4AW8.pgp
Description: PGP signature


Reply to: