[Perl-unix-users] CGI module makes trouble.

2004-09-14 Thread Siyad Ahmed Naina
Hi, list. I wrote a script to query Wordnet Db for words. This script works well in console mode. But if i use CGi module the methode in Lookup_synset() it doesn't return synset objects. Anyone has any idea what may be the reason. thnx siyad _

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