On Wed, Apr 26, 2006 at 04:45:01PM -0400, Jay Savage wrote: > > First, take Tom's advice: use a module. The docs for URI::URI are > pretty clear. If you need haelp figuring it out, post a question here, > and people will be happy to help.
I would have recommended scrapping the idea of a regex and just using split() to pick out everything following the last slash in the URL, but in retrospect even that might run into limitations in some extreme edge-cases. That in mind, I agree: follow Tom's advice. He's contributed to a couple of the best Perl books on the market, after all: far more an expert than I. -- Chad Perrin [ CCD CopyWrite | http://ccd.apotheon.org ] "The ability to quote is a serviceable substitute for wit." - W. Somerset Maugham -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>