Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: eval BLOCK with runtime-loaded code?

by chromatic (Archbishop)
on Jul 22, 2005 at 16:53 UTC ( [id://477286]=note: print w/replies, xml ) Need Help??


in reply to eval BLOCK with runtime-loaded code?

I would like to benefit from the speedup, but also be able to initialize these anonymous subroutines at startup of the script...

Sort of like modules?

  • Comment on Re: eval BLOCK with runtime-loaded code?

Replies are listed 'Best First'.
Re^2: eval BLOCK with runtime-loaded code?
by PetaMem (Priest) on Jul 24, 2005 at 14:01 UTC
    Sort of like modules?

    No. Sort of like persistent cgi scripts. Corions answer was exactly what I was looking for. It gave a speedup of 22!

    Bye
     PetaMem
        All Perl:   MT, NLP, NLU

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (2)
As of 2024-04-16 20:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found