perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Bergolth <...@strike.wu-wien.ac.at>
Subject Re: mod_perl2 (ModPerl::Registry) crashes httpd if request-object is used in a subroutine
Date Fri, 09 Jan 2004 15:06:42 GMT
On 01/08/2004 10:14 PM, Perrin Harkins wrote:
> On Thu, 2004-01-08 at 15:43, Alexander Bergolth wrote:
> 
>>Why do I create a closure? If i'd create a closure I would have to store 
>>a reference to an _anonymous sub
> 
> No, that's a common misconception.  Closures and anonymous subs are two
> totally separate things, although they can be used together.  See the
> explanation here:
> http://perl.apache.org/docs/general/perl_reference/perl_reference.html#Understanding_Closures____the_Easy_Way

Thanks for the explanation!

--leo
-- 
-----------------------------------------------------------------------
Alexander (Leo) Bergolth                          leo@leo.wu-wien.ac.at
WU-Wien - Zentrum fuer Informatikdienste       http://leo.wu-wien.ac.at
                  Computers are like air conditioners -
            they stop working properly when you open Windows


-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html


Mime
View raw message