hotshot has asked for the wisdom of the Perl Monks concerning the following question:
I need the fastest way to create 3 arrays one for each cloumn in the original array, for example:my @array = ('nfs,7,rw', 'afp,12,rro', 'cifs,32,ro', 'dns,5,rw', );
Anyone with a fast way?# working on the above array, I want to get: arr1 = qw(nfs afp cifs dns); arr2 = qw(7 12 32 5); arr3 = qw(rw ro ro rw);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Arrays manipulation
by leriksen (Curate) on May 01, 2003 at 07:00 UTC | |
by sauoq (Abbot) on May 01, 2003 at 09:16 UTC | |
by Aristotle (Chancellor) on May 02, 2003 at 00:56 UTC | |
by sauoq (Abbot) on May 02, 2003 at 18:46 UTC | |
by Aristotle (Chancellor) on May 03, 2003 at 00:57 UTC | |
| |
|
Re: Arrays manipulation
by kabel (Chaplain) on May 01, 2003 at 07:59 UTC | |
|
Re: Arrays manipulation
by UnderMine (Friar) on May 01, 2003 at 09:57 UTC | |
by sauoq (Abbot) on May 01, 2003 at 21:20 UTC | |
by UnderMine (Friar) on May 06, 2003 at 14:30 UTC |