Chad Perrin schreef:
> Jay Savage:

>> 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.

And if you really want to use a regex, see Regexp::Common::URI
http://search.cpan.org/search?module=Regexp::Common::URI

-- 
Affijn, Ruud

"Gewoon is een tijger."



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to