Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: Substitution of a particular letter in all combinations of positions in word (see inside)

by AnomalousMonk (Chancellor)
on Jan 09, 2013 at 14:39 UTC ( #1012502=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    >perl -wMstrict -le
    "printf qq{'$_' } for glob('ferber' =~ s{e}{{e,a}}xmsgr);
    "
    'ferber' 'ferbar' 'farber' 'farbar'
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1012502]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (9)
As of 2018-06-18 16:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (110 votes). Check out past polls.

    Notices?