CGI to mod_perl Porting. mod_perl Coding guidelines
If the variable contains a reference it may hold onto lots of unecessary memory (or worse) if the reference is left to hang about until the next call to the same handler. For such variables you should use local so that the value is removed when the handler subroutine exits.
my $query = CGI->new; becomes: local our $query = CGI->new;
In reply to Re: Debugging child pid 4577 exit signal Segmentation fault (11)
by Anonymous Monk
in thread Debugging child pid 4577 exit signal Segmentation fault (11)
by keenlearner
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |