Class::MakeMethods::Utility::DiskCache - Optional Template feature
use Class::MakeMethods::Utility::DiskCache qw( /my/code/dir );
To enable disk caching of Class::MakeMethods::Template generated code, create an empty directory and pass it to the DiskCache package:
This has a mixed effect on performance, but has the notable advantage of letting you view the subroutines that are being generated by your templates.
See Class::MakeMethods::Template for more information.
To install Class::MakeMethods, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Class::MakeMethods
CPAN shell
perl -MCPAN -e shell install Class::MakeMethods
For more information on module installation, please visit the detailed CPAN module installation guide.