Hello again

Stray Toaster mwk at stray-toaster.co.uk
Tue Jan 29 05:38:09 CST 2002


On Tue, Jan 29, 2002 at 06:35:48AM -0500, Michael G Schwern wrote:
> On Tue, Jan 29, 2002 at 11:19:09AM -0000, Terrential wrote:
> > Hello, I've got another problem.
> > 
> > say i have a url:  http://www.terrential.com/ecards/ecard.pl
> > is there anyway that i can get the www.terrential.com bit on its own thru
> > some sort of reg exp??
> 
> Have a look at the URI module.

OK, so if you aren't using Apache, this is the way to go.

I like URI.pm, and have used it in production code. (Note: I never said
good code, I just said production code.)

m. 
-- 
Someone in this town
Is trying to burn the Playhouse down
They want to stop the ones who want
A rock to wind a string around



More information about the Belfast-pm mailing list