Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: CGI Command Line

by bassplayer (Monsignor)
on Apr 12, 2004 at 21:16 UTC ( [id://344530]=note: print w/replies, xml ) Need Help??


in reply to CGI Command Line

/usr/bin/perl script_name.pl name_1=value_1 name_2=value_2 ... name_n=value_n

bassplayer

Replies are listed 'Best First'.
Re: Re: CGI Command Line
by JoeJaz (Monk) on Apr 12, 2004 at 21:30 UTC
    If only I had know that 6 months ago when I was doing CGI for work ;-) Thanks for your post! Your help is really appreciated. Joe
      If your values contain spaces, you'll either have to use quotes or escape the spaces with backslashes, like this:
      ./script.pl name="some value with spaces" ./script.pl name=some\ value\ with\ spaces
        That's good to know. Thanks!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (6)
As of 2024-04-20 02:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found