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

Re^2: Perl replacement for choice.com

by jwkrahn (Prior)
on Mar 03, 2013 at 10:17 UTC ( #1021492=note: print w/ replies, xml ) Need Help??


in reply to Re: Perl replacement for choice.com
in thread Perl replacement for choice.com

You don't have to capture a character at all:

$show_choices =~ s/(?<=.)(?=.)/,/g;


Comment on Re^2: Perl replacement for choice.com
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2013-05-26 06:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best material for plates (tableware) is:









    Results (524 votes), past polls