Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: (golf) Interlaced Strings

by japhy (Canon)
on May 02, 2001 at 07:16 UTC ( #77223=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub interlace {  # 52
    my$x=pop;my$y=reverse+pop;$x=~s/./chop($y).$&/esg;$x   
    ...
    sub interlace {  # 45
    ($_,@_)=(pop,split//,pop);s/./shift.$&/esg;$_  
    }
    
  2. or download this
    sub interlace {  # 43
    $_=shift;@_=split//,pop;s/./$&.shift/esg;$_   
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2014-09-17 22:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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











    Results (100 votes), past polls