How do I get the information I need quickly from the perl documentation?

You want to quickly get information about a perl function from the documentation. For example, information on the glob function.

Solution: Use perldoc options

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

Revision: 1.4 Reviewed:  

[Top]