Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: How to interpret a string as perl code and execute it?

by ikegami (Patriarch)
on Feb 05, 2011 at 17:16 UTC ( [id://886426]=note: print w/replies, xml ) Need Help??


in reply to Re^2: How to interpret a string as perl code and execute it?
in thread How to interpret a string as perl code and execute it?

You didn't properly convert your Perl to code a Perl string literal. To generate the string
tryme_b( \%h )
you need the string literal
"tryme_b( \\%h )"

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-19 03:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found