Jerry Rocteur wrote:
Hi,

How do you guys always know what perldoc option to give to find info.. John knows them all backwards but Is there some kind of index or is it just experience and if it is experience then it is useless to those learning... ??????????????

Sometimes I spend ages and still can't find what I'm looking for..

I'm looking for regular expression, how do I know that it is perlre ????

Is there a
     perldoc --find 'regular expression' or something like that ?

Or do we do find / -type f -exec egrep -il 'regular expression' {} \;

Sorry, find2perl / -type f -exec egrep -il 'regular expression' ' {} \;


Mostly you just get familar with the common ones. There is a list of the available docs if you just do:


perldoc perl

Which has pretty good descriptions of the general nature of each of the sub sections. Remember that the perldoc is reference material, it isn't for learning specifically, other resources in the community exist for that. Also be sure to check out the documentation for the Perl documentation :-)... aka:

perldoc -h
perldoc perldoc

For searching I don't know of a good way to do it with perldoc (there is the online archive at perldoc.com) but I suppose it would be difficult to do since the amount of docs available changes with every new module installed, etc....

I suppose you could write (and surely someone has) a script to dump the perldoc available on a system and then it would just be a matter of grepping the contents.

http://danconia.org


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to