[SWLUG] mini web server

bascule asura at theexcession.co.uk
Fri Sep 20 16:45:06 UTC 2002


lovely, of course i have to learn perl now, in order to adapt it!

cheers :-)
bascule

On Friday 20 September 2002 5:15 pm, you wrote:
> It's a bit hacky, but it'll do, I'm sure.
>
> #!/usr/bin/perl
>
> use IO::Socket;
>
> # usage: $0 <ip> <port>
>
> $ip = shift || "127.0.0.1";
> $port = shift || 80;
>

-- 
Looking into Granny's eyes was like looking into a mirror. What you saw 
looking back at you was yourself, and there was no hiding place.
(Maskerade)




More information about the Swlug mailing list