[Chicago-talk] Dynamic method call
me at heyjay.com
Thu Nov 6 09:50:08 CST 2003
Wasn't working, I must have some other error
----- Original Message -----
From: "JT Smith" <jt at plainblack.com>
To: "Chicago.pm chatter" <chicago-talk at mail.pm.org>
Sent: Thursday, November 06, 2003 9:36 AM
Subject: Re: [Chicago-talk] Dynamic method call
I do this all the time...and you've got it absolutely right.
On Thu, 6 Nov 2003 09:21:16 -0600
"Jay Strauss" <me at heyjay.com> wrote:
>How do I call a method, where a variable contains the method name?
>my $method = "do_something";
>Chicago-talk mailing list
>Chicago-talk at mail.pm.org
JT ~ Plain Black
Create like a god, command like a king, work like a slave.
Chicago-talk mailing list
Chicago-talk at mail.pm.org
More information about the Chicago-talk