in reply to dynamically named arrays
Anyway, here's an approach that does what the OP proposed:
Then it's easy to get the arrays back, one type at a time:push( @{$modtimes{substr($filename,0,2)}, $modtime );
foreach $type ( sort keys %modtimes ) { @times = @{$modtimes{$type}}; # do something with this set of @times... }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: dynamically named arrays
by sch (Pilgrim) on Oct 21, 2002 at 04:45 UTC |