March 2002 | Perl Hardware Store | 25 |
That wasn't much work
But it was still more work than it needs to be
Here's how you do it:
use Memoize; # Available from CPAN, standard from 5.7.2 memoize 'cmyk';
sub cmyk { ... no changes required ... }
That's all!
I would love to tell you how it works, but I don't have time
In many languages (C, C++, etc.) this is impossible
Next | Copyright © 2002 M-J. Dominus |