| Month: | Topic views: |
Topic saves: |
File uploads: |
Most popular topic views: |
Top contributors for topic save and uploads: |
|---|---|---|---|---|---|
464 } elsif( $tmp =~ /<\!\-\-statDate\-\->/ ) {
465: $statLine = $_;
466: $idxTmpl = $x;
467 }
$statLine is set to whatever junk is in $_
If I change the above to this:
464 } elsif( $tmp =~ /<\!\-\-statDate\-\->/ ) {
465: $statLine = $tmp;
466: $idxTmpl = $x;
467 }
The correct output is produced.
| TWiki version: | Latest beta |
| TWiki plugins: | |
| Server OS: | Solaris |
| Web server: | Apache |
| Perl version: | 5.6.1 |
| Client OS: | Solaris |
| Web Browser: | Mozilla |
What is the process for getting hold of alpha releases?
-- AlanBurlison - 01 Feb 2003
Just click on TWikiAlphaRelease and follow the links - alphas are updated near midnight, Pacific Time.
Re ModPerl - it's best not to run long-running scripts such as statistics under mod_perl. See SelectiveModPerl for details, but the summary is that mod_perl is intended for short-running programs where it's worth keeping the compiled Perl code in memory. statistics doesn't qualify since it is run every 24 hours, i.e. you'll reduce memory use at no performance loss if you don't use mod_perl for this script.
Also, it's important to say you are running under mod_perl when raising bugs - testenv has a handy version string that can provide these details in the environment variables section.
-- RichardDonkin - 01 Feb 2003
Well, my test machine has 1/2Gb of memory, and the production machine has 24Gb, so I'm not that worried about a bit of memory bloat
I've also looked at the SelectiveModPerl topic, and it doesn't actually give a definitive list - several of the scripts aren't mentioned. I've made a comment to that effect in the SelectiveModPerl topic.
I'll also bear in mind the 'mention mod_perl' point in future, although this particular bit of code was broken irrespective of the presence of mod_perl.
-- AlanBurlison - 01 Feb 2003