[Perl] perldoc and perl/tk

Tzafrir Cohen tzafrir at technion.ac.il
Mon Nov 25 23:24:31 PST 2002


On Tue, 26 Nov 2002, Gabor Szabo wrote:

> On Tue, 26 Nov 2002, Offer Kaye wrote:
>
> >
> > The above script works fine, i.e. Perl/Tk is installed okay. So why can't I
> > access the documentation?
> > I'm working from Mandrake 9.0, using the default supplied Perl install
> > (5.8.0).
>
> I think it was on the list already that the perldoc in Mandrake is a
> separate (and not default package). This might be a similar problem.

IIRC perldoc creates the man pages on the fly. OTOH, you could try 'man
Tk' to get the existing man page. This should be much faster, as less
processing is done, and there is also cachcing. OTOH, not all the perl
switches of perldoc are supported.

  Looking....

Yes, the package perl-Tk contains some man pages:

http://www.rpmfind.net//linux/RPM/mandrake/9.0/i586/Mandrake/RPMS/perl-Tk-800.023-9mdk.i586.html

(the files list is in the end)

Also have a look in /usr/share/man/man3pm

So:

  man Tk
  man 3 Tk
  man 3pm Tk

(If you use the man perldoc back-end, of course)

-- 
Tzafrir Cohen
mailto:tzafrir at technion.ac.il
http://www.technion.ac.il/~tzafrir





More information about the Perl mailing list