in reply to (jeffa) Re: Good place to learn Apache::PerlRun
in thread Good place to learn Apache::PerlRun

Ta

Many thanks. The book is on order. I've known about it, but assumed it was too Unix or c oriented. However I saw some reviews of it recently complaining that it was too Perl. I thought if it's mostly Perl then it's worth having.

The PerlRun comments have proved useful. The code that worked okay had no globals, and ran okay first time. The code that was odd, had variables like the environment that wasn't getting cleared - I've mostly fixed that.

I was caught off guard with __DATA__ as I do use it to store settings in. It doesn't say you can't use that in PerlRun, but if it's really just like Registry then that explains why that doesn't work.

All I have to do now is find out why LWP::UserAgent isn't working properly, and persuade my home system to run mod_Perl.

This is a side comment, but I've noticed that Apache on NT can refuse to run some modules. I've installed Apache from the same install file on several NT/2K systems and on some PHP refuses to run, on others it's mod_Perl. My home system runs PHP but not mod_Perl, but my work system runs both!

Before you tell me to use *nix, I've built Apache/mod_Perl on Linux from scratch with no problems, I just have to use NT for some applications....

As ever, many thanks!

  • Comment on Re: (jeffa) Re: Good place to learn Apache::PerlRun

Replies are listed 'Best First'.
Re: Re: (jeffa) Re: Good place to learn Apache::PerlRun
by perrin (Chancellor) on Sep 21, 2001 at 23:27 UTC
    NT support is not the greatest in the current version of mod_perl. The upcoming Apache 2/mod_perl 2 will be much better in this regard. For now, you may want to use a pre-compiled binary on NT to make your life easier.
      Been waiting for Apache 2 for a while. Should be good when it arrives...

      On NT I've been using the Winnipeg binaries, but the server hasn't been responding recently.

      It's supposed to be installed and configured, but Apache refuses to start with the .so installed. I'll have to spend some serious time fixing it, now I know that it does work on NT. I can't have my work system better than my home one!