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?
> % 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
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
> 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.
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...