Re: [Perl-unix-users] $self->$method doesn't work in 5.004

2004-09-14 Thread Martin Moss
solved it, in 5.004 you must specify the brackets - $self->$tag(); Marty --- Martin Moss <[EMAIL PROTECTED]> wrote: > All, > > I've got code thats being ported to a 5.004 (don't > ask!!) environment. > It works fine in 5.6, but I'm getting compilation > errors on 5.004 > > The line is this

[Perl-unix-users] $self->$method doesn't work in 5.004

2004-09-14 Thread Martin Moss
All, I've got code thats being ported to a 5.004 (don't ask!!) environment. It works fine in 5.6, but I'm getting compilation errors on 5.004 The line is this:- $self->$method_name; Is this valid syntax in 5.004? If not, any ideas on what to use instead? Regards Marty