in reply to variable function thingy
What you're looking for is a reference to a sub. You need something like this:
$func_ref = \&post; #this lets func_ref point at a sub call post ... &$func_ref(); #call the sub we've pointed at
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: variable function thingy
by rob_au (Abbot) on Oct 18, 2002 at 02:53 UTC |