On rosettacode.org there is an example of memoization for calculating factorials in Perl 6 (contributed by Larry Wall):
constant fact = 1, |[\*] 1..*; say fact[5]; How does one code that so that results are able to be reused by multiple programs? Thanks. Cheers! -Tom