Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Conceptualizing

by guha (Priest)
on Dec 17, 2001 at 00:28 UTC ( #132391=note: print w/replies, xml ) Need Help??


in reply to Conceptualizing

I have not tested this but AFAIK when you want to access parameter off the URL you should use the url_param() method

This applies to your otherscript.cgi where you would initialize a new CGI-object and then access the parameter like this

use CGI; my $q = new CGI; my $ord_id = $q->url_param('ord_id');
Using use CGI qw/: standard/; instead of use CGI; gives you a "magic/invisible" object which you in fact can access as $CGI::Q making the code snippet above look something like
use CGI qw/: standard/; my $ord_id = url_param('ord_id');
So choose one, not both!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2022-08-09 03:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?