Pod::Perldoc::Cache - Caching perldoc output for quick reference
$ perldoc -MPod::Perldoc::Cache CGI $ perldoc -MPod::Perldoc::Cache -w parser=Pod::Text::Color::Delight CGI
Pod::Perldoc::Cache caches the formatted output from perldoc command and references it for the next time. Once the cache file is generated, perldoc command no more formats the pod file, but replies the cache contents instantly. This module keeps track of the pod file contents so that the old cache is invalidated when the pod is updated.
In default, Pod::Perldoc::Cache uses $HOME/.pod_perldoc_cache directory for keeping cache files. By setting the environment variable POD_PERLDOC_CACHE_DIR, you can select cache directory anywhere you want.
With "-w parser" command line option, you can specify the parser (formatter) module for perldoc which is used when the cache file doesn't exist.
If "-w ignore" command line option is given, the cache file is ignored and the pod file is re-rendered.
Pod::Text, Pod::Text::Color::Delight
Copyright (C) Yuuki Furuyama.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Yuuki Furuyama <addsict@gmail.com>
To install Pod::Perldoc::Cache, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Pod::Perldoc::Cache
CPAN shell
perl -MCPAN -e shell install Pod::Perldoc::Cache
For more information on module installation, please visit the detailed CPAN module installation guide.