Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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: (8)
As of 2014-09-23 23:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (241 votes), past polls