Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Small examples of string eval

by DrHyde (Prior)
on Jun 22, 2006 at 11:12 UTC ( #556886=note: print w/replies, xml ) Need Help??


in reply to Small examples of string eval

Here (String eval is cool) is a great example. It's not code generation. In fact, all it does is generate a value from another value. However, using string eval makes it really obvious how the two values are related and avoids several lines of opaque bit-banging.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2016-08-31 06:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (426 votes). Check out past polls.