anthony brooke wrote:
> Hello, my logic is really bad, here is I want to do.
>
> my @list = qw(a b a a d e e );
>
> I want to compact the array by concatenating the adjacent vowels and
> consonant together, like for the above it should become,
>
> my @list2 = qw(ab aa d ee);
>
> How do I get
Date sent: Wed, 16 Apr 2008 21:47:20 -0700 (PDT)
From: anthony brooke <[EMAIL PROTECTED]>
Subject: Concatenate similar data in array
To: beginner perl mailling list
> Hello, my logic is really bad, here is I want to do.
Hello, my logic is really bad, here is I want to do.
my @list = qw(a b a a d e e );
I want to compact the array by concatenating the adjacent vowels and consonant
together, like for the above it should become,
my @list2 = qw(ab aa d ee);
How do I get the @list2 ? Thanks.
Send instant mess