in reply to saving cgi output as html
Where 'name' and 'dob' are the names of the form entities you'd normally fill out/check/click and the strings are the values that would be assigned if you had filled out/checked/clicked said form objects.perl myscript.cgi name='user name' dob='September 2003' > need.html
So the script could be run as:$cat input.txt name='user name' dob='Sep 2003' state='IL' city='Chicago' county='cook'
perl myscript.cgi < input.txt > output.html
|
|---|