On Wed, Dec 01, 2004 at 09:46:24AM +0000, Tim Bunce wrote: > Do you generally pass URLs around as a string or broken up into a hash?
Personally I've not written much code to handle URLs. But work code has them split into hashes, built from config files where protocol, server, port, path etc are split out, so that it is easy to make a single line change that is visibly just a server (staging vs. live) while keeping all the other parts the same, or just a port, so that development machines can run server per developer. Nicholas Clark