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