http://qs321.pair.com?node_id=688212


in reply to Re^3: Memory usage of a "sub" in mod_perl
in thread Memory usage of a "sub" in mod_perl

In my case, $page->{html} is a simple string, like:
$page->{html} = '...ALL HTML HERE 2 MB OF PLAIN TEXT...';
So, isnīt undef $page->{html} enought?

Diego de Lima
  • Comment on Re^4: Memory usage of a "sub" in mod_perl

Replies are listed 'Best First'.
Re^5: Memory usage of a "sub" in mod_perl
by shmem (Chancellor) on May 23, 2008 at 20:26 UTC
    Yes, that should do - but only if there's no reference to that string elsewhere.

    --shmem

    _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                  /\_¯/(q    /
    ----------------------------  \__(m.====·.(_("always off the crowd"))."·
    ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}