in reply to Re: Double quoted string as method call
in thread Double quoted string as method call

I don't think that's ugly at all. In fact, it's my prefered method of dynamically calling methods. Seems to me it's the most official way of doing it (for timtowtdi definitions of "official").

"There is a thin line between ignorance and arrogance, and only I have managed to erase that line." - Dr. Science
  • Comment on Re: Re: Double quoted string as method call

Replies are listed 'Best First'.
Re: Re: Re: Double quoted string as method call
by ihb (Deacon) on May 11, 2004 at 18:52 UTC

    I find it ugly because

    • you have to specify the object twice for one method call
    • if you're assumption about the existance of the method is wrong you get a very poor error message
    • it uses unnecessary dereferencing

    ihb