Syntactic Confectionery Delight | |
PerlMonks |
Re: passing a file to a cgi scriptby bradcathey (Prior) |
on Jun 02, 2010 at 13:25 UTC ( [id://842758]=note: print w/replies, xml ) | Need Help?? |
You say you want to pass a number of items to a script. There are several ways, depending on your point of origin. I get the sense that you want fluidity in your script with changing parameters. IMO, a file would be more cumbersome, where using the standard conventions of an HTTP post and CGI would offer greater ease and flexibility. Some options, in no order:
If you are calling the script from an HTML link or another Perl script, option #2 above would be the easiest. Messing with uploading and maintaining files seems kludgy.
—Brad "The important work of moving the world forward does not wait to be done by perfect men." George Eliot
In Section
Seekers of Perl Wisdom
|
|