--- Roeland Moors <roelandmoors / telenet.be> wrote: 
> On Thu, Sep 09, 2004 at 12:02:24AM +0900, Roeland
> Moors wrote:

> > This is the main source:
> > 
> > $method = "test1"
> > $mode = Main.new
> > 
> > # this ofcours doesn't work:
> > $mode.$method
> > 
> > How should I do this?
> > 
> 
> Stupid me:
> 
> $mode.method($method)
> 
This won't do what you want. It'll return a Method
object rather can calling the method.

As has been mentioned in other emails you need to
write

$mode.send($method)

BTW is the code supposed to be using global rather
than local variables?



	
	
		
___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun!  http://uk.messenger.yahoo.com