Tuesday, November 14, 2006

Pass Query String from shell to a perl script

Its as simple as:

"perl programname.pl var1=value1 var2=value2 var3=value3"

This is equal to:
"http://path/to/programname.pl?var1=value1&var2=value2&var3=value3 "

Working fine with perl 5.8.1.

No comments: