> 
> Try adding "warn $msg" statements (instead of printing to a file).
> 
> Perl's "warn" function prints to STDERR, which is usually appended to the web 
> server's errors log.  To read the errors as they are printed, do the 
> following (provided you have shell access on your server, and it's running on 
> some kind of Unix/Linux system):
> 
> tail -f /var/log/httpd/error_log

Apache's log entries are escaped, so it makes it difficult to read
multi-line output (eg) Data::Dumper output.

You can make them more readable with:

tail -f /var/log/httpd/error_log | perl -pe 's/\\n/\n/g'

clint

Reply via email to