LPM: "" interpolates method calls?

Steve Lane (ZFX) sml at ns.zfx.com
Sat Nov 27 19:56:29 CST 1999


On Sat, 27 Nov 1999, Rich Bowen wrote:
> Which seems to mean to me that $foo is getting interpolated in the "",
> but $foo->method is not. How do I get $foo->method to get correctly
> called inside of ""?

strictly speaking, "$foo->method" -is- getting correctly
interpreted, because method calls simply do not get
interpolated inside "".

you can always do the silly "... @{[$foo->method]} ..."
if you really want the method call to be evaluated
within the "".
--
Steve Lane <sml at zfx.com>




More information about the Lexington-pm mailing list