in reply to Simple Logic Problem with Perl
The result is this:my $sample4 = ['str1 str2 1', 'str3 str4 2', 'str5 str6 3', 'str7 str8 4', 'str9 str10 6'];
In principle the algo above is applied separately to those two tie area.$result_spl4 = [ 'str1', 'str3', 'str5', 'str7', 'str8', 'str10' 'str7', 'str8', 'str10' ];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Simple Logic Problem with Perl
by jdporter (Paladin) on Oct 19, 2005 at 14:47 UTC |