On 16-Apr-2002 Alexander Hartmaier wrote:
>
> What does eval do??? (I'm really new!).
run 'perldoc -f eval' to get an explanation, or see your favorite perl book :-)
> What has it to look like if I don't use eval around the perl code at the top
> of the script?
Just remove the 'eval {' at the top, and the matching '}' further down. That
should be it.
> 2. Are you able to pinpoint the slow down? E.g. Add statements like:
>
> warn "here at: " . `date`;
>
> To add warn statements into the error_log of where it's at. I've use this
> trick
> quite often. Add one at the very top of the file, one after setting up $dbh,
> one before executing, one after executing, one before fetching rows, one
> after fetching rows, etc.
Did this work?
> 3. See what the Embperl docs say about the various debug modes; you should be
> able to get a lot more verbose embperl.log debbuging then what your previous
> attachment had.
>
> The debug doesn't work :(
I'm not sure what else to suggest...
> PerlModule Apache::DBI
Are you using Apache::DBI as it's intended, to create a pool of persistent
database connections, or only because DBI isn't working? If you want persistent
connections, you'll also have to configure it in startup.pl
Regards,
Wim Kerkhoff -|- www.nyetwork.org -|- [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]