Kerr Wall wrote:

> How does perl handle multiple requests.  For example, if 10 users are 
> logged into your system and they are all trying to use the same script, 
> how does perl deal with this situation?


unless you're running mod_perl, a separete perl interpreter will start 
for each request.

> What is the best way to test and debug?  I am use to printing to the 
> console with Java and I'm not sure how I do this with perl.  Does apache 
> have a log file that I can write to and how to I keep track of when I 
> want to print the response or print to stdout/log file?


yes, apache has a log file.  check your httpd.conf for its location. 
the best (imho) module to use for determining the contents of your 
variables is Data::Dumper.  the warn() function writes to the httpd log 
file.

perldoc -f warn
http://search.cpan.org/search?dist=Data-Dumper


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to