Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: Divide a list of string into substrings

by choroba (Archbishop)
on Jun 23, 2020 at 18:44 UTC ( #11118388=note: print w/replies, xml ) Need Help??


in reply to Re: Divide a list of string into substrings
in thread Divide a list of string into substrings

> Otherwise what is the solution???

My program (changing the tolerance to int rand 5) says

Score 27 $VAR1 = [ [ '333', 'X111' ], [ '222', 'X111' ], [ '000', 'X333' ], [ '000', 'X111' ] ];

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2020-10-30 10:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (278 votes). Check out past polls.

    Notices?