IO::Socket Latency

2001-10-04 Thread josh hoblitt
I've working on a small webserver that uses only core perl modules. The design is similar to apache prevous to 2.0. Anyways in some simple load testing I've noticed the the connection latency is ~3.3msec under perl and ~0.7msec for apache. Since these are both on the same host and both are simp

Warnings with strict and POSIX

2001-10-18 Thread josh hoblitt
I'm not sure exactly whats going on here. It seems the combination of strict and POSIX ":sys_wait_h" is fine... but just POSIX seems to stop the strict bareword warnings. Any idea whats going on here? (exporter wierdness?) #!/usr/bin/perl -w use POSIX; #use POSIX ":sys_wait_h"; use strict; sy

modules and namespaces

2001-10-21 Thread josh hoblitt
I have a group of functions that are dependant on several global variables (yes I know tightly coupled functions are bad). I would like to split these off into a module but as far as I know that require a) explicitly declaring the name space of the variable or b) passing them into the module nam