in reply to Re: http://www.url.com/cgi-bin/file.pl?node=how
in thread http://www.url.com/cgi-bin/file.pl?node=how

I was under the impression that having it $node undef was ok, if I declared it in the Url.
I will try the lookup_table when I am off work tonight.
With your code does the param('node') come from the Url?
I have more reading to do :D
Thanks
  • Comment on Re: Re: http://www.url.com/cgi-bin/file.pl?node=how

Replies are listed 'Best First'.
Re: Re: Re: http://www.url.com/cgi-bin/file.pl?node=how
by smitz (Chaplain) on Sep 10, 2003 at 07:32 UTC
    Hi surrealistfashion,

    Yes you do have some more reading to do :-) Check out the following:


    Although you have the sub name in your URI, and the CGI.pm module has access to it, you have not 'imported' it into your program.
    Just by declaring it with my doesn't automatically give it the value you woul like. This isn't PHP you know ;-)
    Also, I ran the code I posted, it should work fine.

    Smitz