Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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

by ikegami (Pope)
on Feb 05, 2011 at 17:16 UTC ( #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
Node Status?
node history
Node Type: note [id://886426]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2018-06-20 15:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (116 votes). Check out past polls.

    Notices?