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!


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

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.