|Welcome to the Monastery|
Commands for IO::Socketby Anonymous Monk
|on Feb 15, 2001 at 23:00 UTC||Need Help??|
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Using IO::Socket, I've managed to make this perl script that acts like a super super small web server. What it does, is it opens port 8000 on my comp, and when a person requests for my ip with the 8000 port number, it will print out to the client an html page.
If the client, for example types: 184.108.40.206:8000/aaa.mp3
Is there a command that I can use to get the last part of the url that the user typed (in this case aaa.mp3)?