in reply to Re: Basic question
in thread Basic question
If you leave out the "...." in your code, it's impossible that $Report is empty
Sorry, wrong. The part that is "left out" is mod_perl, which was clearly mentioned in the root node, and what it adds isn't where the "..."s in the shown code are.
What it produces is close to:
and each time the page is displayed:sub script { my $Report=""; sub note { my ($titre,$texte) = @_; my $Texte= '<H5>'.$titre.'</H5><P>'.$texte.'</P>'; $Report .=$Texte; } note($title,$text); print STDERR "*update.pl: end \n[\n$Report\n]\n"; }
And that results in $Report being empty every time it is run except for the first. Certainly not "impossible". - tyescript()
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Basic question (mod_perl)
by Abigail-II (Bishop) on Aug 20, 2003 at 15:44 UTC | |
by tye (Sage) on Aug 20, 2003 at 15:51 UTC |