Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Re: Inline subs?

by Limbic~Region (Chancellor)
on May 02, 2003 at 01:19 UTC ( [id://254868]=note: print w/replies, xml ) Need Help??


in reply to Re: Inline subs?
in thread Inline subs?

broquaint,
Memoize was also mentioned in the CB, but would not help for my case:

Do not memoize a function whose behavior depends on program state other than its own arguments, such as global variables, the time of day, or file input. These functions will not produce correct results when memoized.

My millions of iterations were from file input. I will check your source filter out tomorrow to see if I can grok it - Thanks!

L~R

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://254868]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2024-04-26 04:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found