good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Re: Re: Re: Sorting URLs on domain/host: sortkeys generationby dakkar (Hermit) |
on Mar 30, 2003 at 10:06 UTC ( [id://246708]=note: print w/replies, xml ) | Need Help?? |
I'm quite sure the OP wanted something like:
That is, sorted by TLD, then 2nd level domain, then 3rd, and so on. At least, it's what his code does (notice the reverse). -- dakkar - Mobilis in mobile
In Section
Seekers of Perl Wisdom
|
|