Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Programming Perl Q] Certain info dated?

0 views
Skip to first unread message

Harry Putnam

unread,
Jan 22, 2002, 11:16:11 AM1/22/02
to

Just bought and started reading `Programming Perl'. The first thing I
wanted from it was a detailed guide to using perls own voluminous
documentation.

This is the 3rd Edition. I find info in the preface (page xxv) about
searching the man pages. There is a statement that reads in part:

".... You can search individual pages by using the name of the man
page as the command and passing a Perl regular expression [...]
as the search pattern"

And shows syntax like this:

% perlfunc split
[...]
% perlfaq round

None of this works on my Linux (Redhat 7.1) setup nor on my
Solaris8 (intel), although perl is installed as indicated by
`which perl'. Is this info out of date or do I need a special
path for this to work?

If this is out of date what is the current technique to search for a
regex through out the entire documentation?

Khachaturov, Vassilii

unread,
Jan 22, 2002, 12:36:48 PM1/22/02
to
I've used instead

> % perlfunc split
perldoc -f split

and

> [...]
> % perlfaq round
perldoc -q round

for ages to achieve this very functionality (check perldoc's help).

> None of this works on my Linux (Redhat 7.1) setup nor on my
> Solaris8 (intel), although perl is installed as indicated by
> `which perl'. Is this info out of date or do I need a special
> path for this to work?

Either this is something really very fresh (wasn't there 3 months ago
on CPAN), or you've just discovered a Camel 3 bug.

Vassilii

Rafael Garcia-Suarez

unread,
Jan 22, 2002, 4:49:18 PM1/22/02
to
Khachaturov, Vassilii wrote in comp.lang.perl.moderated:

Tom Christiansen did develop a set of tools intended to replace the old
perldoc script, but they never got finished and integrated into perl.
I imagine that, at the time the 3rd Camel was being written, Tom was
expecting these to be ready for the next release of perl.

IIRC, these tools did look like this. Sorry, I've no pointer...

--
Rafael Garcia-Suarez
I'll better skip() some releases until it is() ok() to use Test::More
without() going insane(). Any more than I already am, that is().
-- Tels in the perl-qa mailing list

Harry Putnam

unread,
Jan 23, 2002, 12:46:54 AM1/23/02
to
"Khachaturov, Vassilii" <Vassilii.K...@comverse.com> writes:

> I've used instead
> perldoc -f split

> perldoc -q round

Thanks, yeah I knew about those from man perldoc but areent they
limited in this way:
perldoc -q -- only queries the faqs
perldoc -f -- only queries for fucntion names.

> Either this is something really very fresh (wasn't there 3 months ago
> on CPAN), or you've just discovered a Camel 3 bug.

Rafael Garcia-Suarez <rgarci...@free.fr> writes:

[...]

> Tom Christiansen did develop a set of tools intended to replace the old
> perldoc script, but they never got finished and integrated into perl.
> I imagine that, at the time the 3rd Camel was being written, Tom was
> expecting these to be ready for the next release of perl.
>
> IIRC, these tools did look like this. Sorry, I've no pointer...

That may be what happened.. And as many here will know, the book
supplies an oreilly mailing address to ask questions about the book.

I've done that so maybe I'll here something soon.

John Sharp

unread,
Feb 4, 2002, 11:33:17 AM2/4/02
to
In Perl 5.6 try:

perldoc -f split

to search the "built-in" functions documentation for "split"

and

perldoc -q round

to search FAQ questions for "round"

------------

For more info. and options for using perldoc, type:

perldoc perldoc

or

perldoc -h

John Sharp
www.tfriend.com

"Harry Putnam" <rea...@newsguy.com> wrote in message
news:m1vgduw...@reader.newsguy.com...

0 new messages