March 2002 Perl Hardware Store 25

5. Caching

Memoizing

        use Memoize;           # Available from CPAN, standard from 5.7.2
        memoize 'cmyk';
        sub cmyk { ... no changes required ... }


Next Copyright © 2002 M-J. Dominus