http://www.perlmonks.org?node_id=316652

ACJavascript has asked for the wisdom of the Perl Monks concerning the following question:

Hello all,

I SEEK THE WISDOM OF THE PERL MONKS! hehe

Okay I need to know this:
Say the referer is http://www.yahoo.com/s=2342&stuff=asdfsd

I read the referer using ENV{'HTTP_REFERER'} - NOW
How can I split it up so that All I have like is www.yahoo.com?

Im pretty sure its going somthing to do with substr but I can't figure it out. Please any help would be most appreciated!
A*C