wstarrs has asked for the wisdom of the Perl Monks concerning the following question:
@sortedbus = sort {$b <=> $a} (@busdir); foreach $bus (@sortedbus) { @splbus = map {split (/_/, $bus, 1)} @sortedbus; if ($today >= @splbus[0]) { for ($i=0; $i++;) { $pers = @buschecked[i]; } # End for loop to populate the sorted, checked array } # End if statement to check the current date against the Begin d +ates } # End foreach loop to pull each name from the sorted array, check th +e begin date and populate the final array
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Could someone take a look at this code snippet?
by Masem (Monsignor) on May 10, 2001 at 20:31 UTC | |
|
Re: Could someone take a look at this code snippet?
by stephen (Priest) on May 10, 2001 at 20:33 UTC | |
|
Re: Could someone take a look at this code snippet?
by thpfft (Chaplain) on May 10, 2001 at 20:41 UTC | |
|
Re: Could someone take a look at this code snippet?
by little (Curate) on May 11, 2001 at 16:08 UTC |