in reply to Printing the result of calling an instance method
Another way to do it besides the wacky @{[$obj->method]} solution and concatenation => use printf :
printf("<td>%s</td>", $obj->attr1);
Philosophy can be made out of anything. Or less -- Jerry A. Fodor
|
|---|