***SPAM*** Re: [Novalug] a perl question

Bonnie Dalzell bdalzell at qis.net
Fri Jan 5 15:20:48 EST 2007


Also you can pass the variables of your form to the script from the
command line for testing purposes

When the script starts it can look into the special array

@ARGV

so you can make %form=@ARGV

and invoke you script for testing purposes thusly

perl -w myscript key1 value1 key2 value2 keyetc valueetc

depending on your system you may have to put quotes or back ticks around
the variables

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                       Bonnie Dalzell, MA 
mail:5100 Hydes Rd ---- Hydes MD USA 21082-----EMAIL:bdalzell at qis.net
 
freelance anatomist, vertebrate paleontologist, writer, illustrator, dog
breeder, computer nerd & iconoclast... Borzoi info at www.borzois.com.
 
Editor Net.Pet Online Animal Magazine  - http://www.netpetmagazine.com
HOME http://www.qis.net/~borzoi/          BUSINESS http://www.batw.com





More information about the Novalug mailing list