Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

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

by surrealistfashion (Acolyte)
on Sep 10, 2003 at 03:08 UTC ( [id://290285]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://290285]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-04-24 15:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found