Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: Creating sub from string without munging the symbol table

by Anonymous Monk
on Jun 22, 2015 at 18:56 UTC ( [id://1131530]=note: print w/replies, xml ) Need Help??


in reply to Re: Creating sub from string without munging the symbol table
in thread Creating sub from string without munging the symbol table

Every function in every perl (or ruby or python or javascript or java) program is created from a string. The program source.

And it is done using exactly the same parser as you invoke via eval.

  • Comment on Re^2: Creating sub from string without munging the symbol table

Log In?
Username:
Password:

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

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

    No recent polls found