in reply to Re: Re: static-like persistence of my variable due to trailing conditional
in thread static-like persistence of my variable due to trailing conditional
(You know the drill - Variable "$bar" will not stay shared.)sub foo { my $bar = 0; sub baz { print $bar++; } }
Makeshifts last the longest.
|
|---|