On Friday 05 March 2004 07:19 pm, Perrin Harkins wrote:

> > use app::utility_class;
> > my $var = new app::utility_class;
> > .... do stuff...
>
> If "do stuff" includes and subs that reference $var without it being
> passed to them, you'll create a closure.  For example:

"do stuff" didn't, but the source file contained something that did even 
though it wasn't called.

So now I understand closures (I think). :-)

Thanks.

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to