On Perl 5.6.1 you may have to use
perldoc -h
to get a description of all the options. This seems to be the case on ActiveState so guess its probably the same on the Unix builds. Can anyone confirm/deny this?
Steve Aaron
-----Original Message-----
From: Elston, Jeremy [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 7:54 PM
To: '[EMAIL PROTECTED]'
Cc: Perl-Unix-Users (E-mail)
Subject: RE: [Perl-unix-users] Perldoc problem
Greetings...
Okay, I found what I missed. For recursive and case-insensitive searches
you must now specify arguments to perldoc: -r (recursive) -i (insensitive).
Interestingly, this information is not contained within the man/perldoc
page, but those and other arguments are documented if you type perldoc with
no arguments... Looks like documentation for a few changes were overlooked.
- Jeremy
-----Original Message-----
From: Bayard Bell [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 11:36 AM
To: Elston, Jeremy
Subject: Re: [Perl-unix-users] Perldoc problem
How does perl -V compare across the builds?
"Elston, Jeremy" wrote:
>
> Greetings...
>
> Okay, this problem is finally annoying me to the point that I want a
> solution. Since updating to newer Perl 5.6x versions my perldoc search
> functionality has basically disappeared.
>
> Per the perldoc perldoc:
> -----
> PageName|ModuleName|ProgramName
> The item you want to look up. Nested modules (such as
> "File::Basename") are specified either as
> "File::Basename" or "File/Basename". You may also give
> a descriptive name of a page, such as "perlfunc". You
> may also give a partial or wrong-case name, such as
> "basename" for "File::Basename", but this will be
> slower, if there is more then one page with the same
> partial name, you will only get the first one.
> -----
>
> What happens for me:
> -----
> LOC: ~/work/udsum/sessions
> s0840dev (jeremy) [123] $ perldoc basename
> No documentation found for "basename".
>
> LOC: ~/work/udsum/sessions
> s0840dev (jeremy) [124] $ perldoc File::Basename
>
> User Contributed Perl Documentation .1::File::Basename(3)
>
> NAME
> fileparse - split a pathname into pieces
> ...cut...
> -----
>
> Prior to my upgrade from 5.0x to 5.6x this functionality has always worked
> properly. Is there some secret compile option, env variable, or something
> that I am missing to restore proper perldoc functionality? I have
compiled
> Perl 5.6 on four separate Solaris systems. All at different times and
some
> with different minor versions, i.e. separate tarballs.
>
> Any thoughts?
>
> Jeremy Elston
> Sr. Staff Unix System Administrator
> InfrastructureManagement.QEDs
> Charles Schwab & Co., Inc.
> (602.977.4413 / [EMAIL PROTECTED])
>
> "Are you still here? What are you doing? There is nothing left to read.
> The e-mail is over. Move on... Go on - get out of here. SHOO!"
>
> WARNING: All email sent to this address will be received by the Charles
> Schwab Corporate email system and is subject to archival and review by
> someone other than the recipient
> _______________________________________________
> Perl-Unix-Users mailing list. To unsubscribe go to
http://listserv.ActiveState.com/mailman/subscribe/perl-unix-users
_______________________________________________
Perl-Unix-Users mailing list. To unsubscribe go to http://listserv.ActiveState.com/mailman/subscribe/perl-unix-users