The stupid question is the question not asked | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
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. If the client, for example types: 24.232.109.10: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)? Thanks, Ralph :) In reply to Commands for IO::Socket by Anonymous Monk
|
|