|
|
| Pathologically Eclectic Rubbish Lister | |
| PerlMonks |
Arrange by creation date?by einerwitzen (Sexton) |
| on Jan 17, 2004 at 14:46 UTC ( [id://322066]=perlquestion: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.einerwitzen has asked for the wisdom of the Perl Monks concerning the following question:
in my script I readdir and load all of the sub directory names into an array @topics I am wondering how I can sort those so when i print them
They are printed out by creation date, newest listed first. Any special tricks to it? update: right now they are in order, just in reverse. What i need it a way to reverse the order of the array contents. Thanks all!
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||