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 [EMAIL PROTECTED] 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