On Fri, 23 Jun 2000, Kenneth Lee wrote:
> (XOT: eXtremely OT)
>
> perl complains about variable method calls ($obj->$meth) when I move from
> 5.6.0 back to 5.00503, it says syntax error near "$meth".
>
> i think this is supported at the very beginning. did i missed sth?
Yes.
$obj->$meth();
There were parser fixes that allowed the former syntax in 5.6, but if you
want it to work in 5.005 then you need the brackets.
--
<Matt/>
Fastnet Software Ltd. High Performance Web Specialists
Providing mod_perl, XML, Sybase and Oracle solutions
Email for training and consultancy availability.
http://sergeant.org | AxKit: http://axkit.org