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

Re: Dreaming in Perl

by Cody Pendant (Prior)
on Dec 03, 2002 at 08:16 UTC ( #217154=note: print w/ replies, xml ) Need Help??


in reply to Dreaming in Perl

I came up with some code in a dream that solved a problem once. I saw a little mental movie of an array being iterated through two by two, not one by one, and it looked like this

foo,bar,baz,quux |___| foo,bar,baz,quux |___|
and it turned out to be not a bad solution to the problem.
--
($_='jjjuuusssttt annootthheer pppeeerrrlll haaaccckkeer')=~y/a-z//s;print;


Comment on Re: Dreaming in Perl
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2016-02-10 12:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (346 votes), past polls