in reply to (jeffa) Re: Good place to learn Apache::PerlRun
in thread Good place to learn Apache::PerlRun
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!
|
|---|
| 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 | |
by ajt (Prior) on Sep 22, 2001 at 01:00 UTC |