[Israel.pm] Exporting a Memoized function

Meir Guttman meir at guttman.co.il
Thu Jun 27 02:44:01 PDT 2013


Dear Shmuel,

 

 

From: perl-bounces at perl.org.il [mailto:perl-bounces at perl.org.il] On Behalf
Of Shmuel Fomberg
Sent: יום ה 27 יוני 2013 12:26
To: Perl in Israel
Subject: [Israel.pm] Exporting a Memoized function

 

Hi All.

 

If I want to memorize a function:

 

memoize('myfunc');

 

A newbie’s (really) stupid question: what is “memorize” in a Perl context?
(Or is it a Perl issue?)

 

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?

 

Thanks,

Shmuel.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.perl.org.il/pipermail/perl/attachments/20130627/5bfd0788/attachment.htm 


More information about the Perl mailing list