Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: Optimization Help on Perl Hash Traversal (eval use)

by Anonymous Monk
on Feb 07, 2013 at 01:28 UTC ( #1017537=note: print w/replies, xml ) Need Help??


in reply to Re: Optimization Help on Perl Hash Traversal (eval use)
in thread Optimization Help on Perl Hash Traversal (eval use)

Your example does not seem quite clear since it seems that the value of the subroutine is lost each time. We make a subroutine but where do we put the coderef? Do you mean, say:
$subs{$_} = sub { $_} for ... ?
  • Comment on Re^2: Optimization Help on Perl Hash Traversal (eval use)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1017537]
help
Chatterbox?
LanX thanks Ophelia for the great weather - summer reloaded! :)
[marto]: the wind woke the kids in the early hours of the morning.

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (10)
As of 2017-10-17 12:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (230 votes). Check out past polls.

    Notices?