ayapejian has asked for the wisdom of the Perl Monks concerning the following question:
The above should all return 'yahoo'. After I work this part out I can store the values in a configuration file that just contains a hash for each host I guess. Any ideas, or alternate suggestions are welcome. Thanks in advance.http://www.yahoo.com http://yahoo.com http://someplace.yahoo.com/blah_blah/index.html
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Telling different virtual hosts apart
by Fletch (Bishop) on Apr 29, 2008 at 01:03 UTC | |
|
Re: Telling different virtual hosts apart
by sasdrtx (Friar) on Apr 29, 2008 at 01:55 UTC | |
|
Re: Telling different virtual hosts apart
by pc88mxer (Vicar) on Apr 29, 2008 at 03:34 UTC | |
|
Re: Telling different virtual hosts apart
by aquarium (Curate) on Apr 29, 2008 at 02:21 UTC |