Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Re: Re: Re: Sorting URLs on domain/host: sortkeys generation

by dakkar (Hermit)
on Mar 30, 2003 at 10:06 UTC ( [id://246708]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Sorting URLs on domain/host: sortkeys generation
in thread Sorting URLs on domain/host: sortkeys generation

I'm quite sure the OP wanted something like:

http://. http://au.goo.com http://au.goop.com http://au.google.com http://www.google.com http://www.google.co.uk

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://246708]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-04-20 00:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found