Hi.
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.
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)?