Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: One-liner to rule them all...

by pvaldes (Chaplain)
on Jul 11, 2012 at 10:39 UTC ( #981076=note: print w/ replies, xml ) Need Help??


in reply to One-liner to rule them all...

not an one-liner, but works anyway

my $phrase = 'who lives in a pineapple under the sea?'; @array = split //, $phrase; for $item (@array){ my $code = ord($item)+3; print chr($code);} __END__ prints : zkr#olyhv#lq#d#slqhdssoh#xqghu#wkh#vhdB


Comment on Re: One-liner to rule them all...
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (9)
As of 2015-07-04 08:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (58 votes), past polls