in reply to Functions
{ my $sub; BEGIN { $sub= sub { # ... }; } sub GlobalRoutine { &$sub( ... ); } }
Is one way to do it.
- tye (but my friends call me "Tye")
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (tye)Re: Functions
by KM (Priest) on Jan 30, 2001 at 01:15 UTC | |
by tye (Sage) on Jan 30, 2001 at 01:32 UTC | |
by fgcr (Novice) on Jan 30, 2001 at 02:25 UTC | |
by KM (Priest) on Jan 30, 2001 at 01:45 UTC | |
by tye (Sage) on Jan 30, 2001 at 02:03 UTC | |
by KM (Priest) on Jan 30, 2001 at 02:24 UTC | |
|