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!