>>>>> "Jan" == Jan Eden <[EMAIL PROTECTED]> writes:

Jan> I finally came up with something myself:

But that's no longer a method call.

You can do an indirect method call, but it needs to be a simple scalar:

my $method = $parameters{mode};
$object->$methods(@args);

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to