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:- > > $self->$method_name; > > > Is this valid syntax in 5.004? If not, any ideas on > what to use instead? > > Regards > > Marty > > > > > > ___________________________________________________________ALL-NEW > Yahoo! Messenger - all new features - even more fun! > http://uk.messenger.yahoo.com > _______________________________________________ > Perl-Unix-Users mailing list > [EMAIL PROTECTED] > To unsubscribe: > http://listserv.ActiveState.com/mailman/mysubs > ___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com _______________________________________________ Perl-Unix-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs