On Thu, Jun 27, 2013 at 6:26 PM, Shmuel Fomberg wrote:

> Hi All.
>
> If I want to memorize a function:
>
> memoize('myfunc');
>
> but I also want to export it. Is there anything that I need to worry about?
>
> What happen if I memoize the function *after* it was already exported?
> does the exported function points to the regular or to the memoized
> function?
>

I tested it, and it seen that the exported is the regular function.
Oh well. one level of indirection never killed anyone...

Shmuel.
_______________________________________________
Perl mailing list
[email protected]
http://mail.perl.org.il/mailman/listinfo/perl

Reply via email to