---
name: "Class::MakeMethods::Utility::DiskCache"
section: "3pm"
platform: "linux"
package: "libclass-makemethods-perl"
version: "1.01-7"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Class::MakeMethods::Utility::DiskCache"
---

# Class::MakeMethods::Utility::DiskCache(3pm)

Optional Template feature

## NAME

Class::MakeMethods::Utility::DiskCache - Optional Template feature

## SYNOPSIS

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

## DESCRIPTION

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 ALSO

See Class::MakeMethods::Template for more information.
