Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: (golf) Interlaced Strings

by Chmrr (Vicar)
on May 02, 2001 at 07:18 UTC ( #77225=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    sub j {
    my($a,$b)=@_;$a=~s/(.)/$1.substr($b,length($`),1)/ge;return$a;
    }
    
  2. or download this
    sub j {
    $_=pop;@_=split//,pop;s/./shift.$&/eg;$_
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://77225]
help
Chatterbox?
[Discipulus]: [OT] if i have an svg image (a map of italian provinces) like this one in which way i need to interact with it to have a geochart?
[Corion]: I haven't found a good way to plot stuff into country maps... Maybe one of the demos of D3.js has something usable?
[Discipulus]: i need to use css to get and colorize various different IDs?

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (13)
As of 2017-03-23 09:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (285 votes). Check out past polls.