From: "NYIMI Jose (BMB)" <[EMAIL PROTECTED]> > This is a little bit Out of Topic but if somebody can give input I > will greatly appreciate! > > I know that in Perl OO the name of a method can be a variable. > Which end up with code like this: > > my $obj= new MyClass; > #here the thing > $obj->$method(); > > $method var holding the name of my method. > > I would like to know if such feature exists in other OO languages like > Java etc ...
I guess you could do something similar in JavaScript/JScript/ECMAScript > Besides, is such way of programming an indication of a > bad "Class Design" ? Well ... you should not have to do that. Jenda ===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz ===== When it comes to wine, women and song, wizards are allowed to get drunk and croon as much as they like. -- Terry Pratchett in Sourcery -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]