Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Comparing and Aligning arrays

by AnomalousMonk (Chancellor)
on Apr 04, 2014 at 02:44 UTC ( #1081060=note: print w/replies, xml ) Need Help??


in reply to Re: Comparing and Aligning arrays
in thread Comparing and Aligning arrays

What I'm aiming for is to have new aligned lists where in raw number i for all of them I should have even the same charecter or "-". When I'll but "-" all the following items in the list should be shifted down

I'm very sorry, but I don't understand this at all. In addition to a clarifying verbal description, could you perhaps give us another example? (Within  <c> ... </c> code tags of course; please see Markup in the Monastery.) For instance, what separator distribution would you expect from the following (assuming it's a valid set of lists):

my @List1 = qw(a a b); my @List2 = qw(b b c); my @List3 = qw(d d e);

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1081060]
help
Chatterbox?
LanX oh my god it's full of hacks!!! ...
[holli]: what? the pm code you swindled your way into?
[LanX]: no already the pm code I'm allowed to see ... http://www. perlmonks.net/ index.pl?node_id= 1203338;style=css
[LanX]: understanding this code is like relearning space invaders and donkey Kong at the same time

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2017-11-20 21:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (294 votes). Check out past polls.

    Notices?