in reply to calling methods using a variable
foreach $command( @commands ) { eval '$g->' . $command; die $@ if $@; } [download]