[Chicago-talk] Dynamic method call

Jay Strauss me at heyjay.com
Thu Nov 6 09:21:16 CST 2003


How do I call a method, where a variable contains the method name?

my $method = "do_something";
$self->$method;

Thanks
Jay



More information about the Chicago-talk mailing list