in reply to sorting an array
Update: Typo. Fixed. l=>1. Like I can read let alone tell the difference with that small of a font :-)my @hold; for (@array) { if (my $status = /^\*{3}1\*{3}$/../^\*{3}end1\*{3}$/) { next if $status == 1 or $status =~ /E0/; push @hold, $_; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(Ovid) Re(2): sorting an array
by Ovid (Cardinal) on Aug 21, 2001 at 00:58 UTC |