in reply to Re: Re: Re: Perl Turning a Blind Eye
in thread Perl Turning a Blind Eye
Perl lacks a great way to declare static variables.
is the closest you can come and that (once you think about it enough) makes my solution look downright tasty. (: - tye (but my friends call me "Tye")sub routine { my $static if 0; $static= 'value' if ! defined $static; # ... }
|
|---|