Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi monks,
I want to convert an array as given below in to
input:
@a=(1, 2, 3, 3, 2, 1, 2, 2)
Output:
@out=(1, 1.1, 1.1.1, 1.1.2, 1.2, 2, 2.1, 2.2)
Please Kindly help me to do this.
Million thanx in advance.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Problem in generating ids through Array
by pbeckingham (Parson) on Jun 15, 2004 at 13:12 UTC | |
|
Re: Problem in generating ids through Array
by hv (Prior) on Jun 15, 2004 at 13:22 UTC | |
|
Re: Problem in generating ids through Array
by dave_the_m (Monsignor) on Jun 15, 2004 at 13:14 UTC | |
by pbeckingham (Parson) on Jun 15, 2004 at 13:20 UTC | |
|
Re: Problem in generating ids through Array
by tachyon (Chancellor) on Jun 16, 2004 at 03:02 UTC |