|
|
| Think about Loose Coupling | |
| PerlMonks |
dynamic methods with variablesby jorg (Friar) |
| on Jul 30, 2003 at 08:33 UTC ( [id://279153]=perlquestion: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.jorg has asked for the wisdom of the Perl Monks concerning the following question:
Hi all, This post describes how one can achieve dynamic method calling using scalars.
This approach works fine as long as you're not passing parameters along. ... but i'm getting Argument "colorspace=>'gray'" isn't numeric in subroutine entry at im.pl line 10.Now this tells me that probably the parameter passing works but it's expecting a numeric parameter and the "qw" garbles it somehow. Is my observation correct? Jorg "Do or do not, there is no try" -- Yoda
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||