{ my $sub; BEGIN { $sub= sub { # ... }; } sub GlobalRoutine { &$sub( ... ); } }
Is one way to do it.
- tye (but my friends call me "Tye")In reply to (tye)Re: Functions
by tye
in thread Functions
by fgcr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |