print mytest(), "\n"; { my $static; BEGIN { $static = "Persistant"; } sub mytest { return $static; } }
In reply to Re: Static function variables without top declaration?
by bart
in thread Static function variables without top declaration?
by davido
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |