DOKK / manpages / debian 12 / libclass-makemethods-perl / Class::MakeMethods::Utility::DiskCache.3pm.en
MakeMethods::Utility::DiskCache(3pm) User Contributed Perl Documentation MakeMethods::Utility::DiskCache(3pm)

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:

  use Class::MakeMethods::Utility::DiskCache qw( /my/code/dir );

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.

2022-10-13 perl v5.34.0