Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: oh for y///e

by educated_foo (Vicar)
on Dec 11, 2013 at 15:35 UTC ( [id://1066636]=note: print w/replies, xml ) Need Help??


in reply to Re: oh for y///e
in thread oh for y///e

What are you trying to do with the /e switch? eval 'b-zaZA-Y'? I don't see the point.
Maybe something like:
$cryped = substitution_cypher(); $text =~ y/a-z/$crypted/e;
instead of
eval "\$text =~ y/a-z/$crypted/";

Replies are listed 'Best First'.
Re^3: oh for y///e
by bhildred (Novice) on Dec 12, 2013 at 18:16 UTC
    It would be cool when writing Obfuscated Code to eval the results of a transform without using eval to make it obvious what you are doing.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (9)
As of 2024-04-24 10:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found