good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
To get these to sort, you're going to need to extract/construct a key you can sort on. Since the files are named like
Order_29May11:05.bak
You can extract some sortable pieces by doing
where %month is a hash that maps the 3 character month abbreviation to a to character numeric string (e.g., 'Jan' => '01', ... 'Dec' => '12'). You can use this within a Schwartzian transform (many examples of which can be found by doing a Super Search on "Schwartzian").
In reply to Re: How can I sort this array?
by dws
|
|