| Search perlmeme.org | |
| Home » Faqs » Documentation » Function perldoc |
You want to quickly get information about a perl function from the documentation. For example, information on the glob function.
Try:
perldoc -f glob
perldoc File::Glob
perldoc -q glob
In the first case, perldoc will look in the standard perl documentation for a function called glob.
In the second case, you would need to know that the function glob actually belongs to the package File::Glob. In this case perldoc will display the documentation for the module File::Glob.
In the third case, perldoc will look through the perl faqs for the function glob.
You can also find this kind of information at:
The online perl faq