Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Perl replacement for choice.com

by jwkrahn (Monsignor)
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 pondering the Monastery: (15)
As of 2015-01-26 17:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My top resolution in 2015 is:

















    Results (195 votes), past polls