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 t
On Fri, 2004-03-05 at 19:08, MJH 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:
sub foo {
$var->bar();
}
That will prevent it f