|
|
| go ahead... be a heretic | |
| PerlMonks |
Re: Sort - can'tby QM (Parson) |
| on Aug 28, 2005 at 20:10 UTC ( [id://487303]=note: 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.
Make that
Then you got lost. You tried this: Except that $_ wasn't set by anything yet. Your directories are in @submenu, and split only works on one scalar (at a time). Moreover, sort is redundant on scalars:
Somehow you need to pick which of the @submenu entries you want to split (or perhaps all?), and then what it is you're sorting... -QM
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||