[plug] Perl Query...

Colin Muller colin at durbanet.co.za
Wed Jan 31 16:46:19 WST 2001


Trevor Phillips wrote:

> Still, I'd be curious if there's a way of doing Class::$bink(@args) which
> doesn't pass the obj/module...

Try this:

use Fred;
my $method = 'bill';
my $call = 'Fred::' . $method
$call->($arg);

Colin



More information about the plug mailing list