Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I am writing scripts to automate report generation from the database tables.This too has 2 parts. User inputs are collected thru web based UI and inputs are passed to the backend scripts running on a remote server as command line args. Issue is that the use input contains DB Queries which exceed the length supported by shell. I googled for solution but could not find any viable sol. Also looked Getopt::Argvfile but could not find out the best possible method.
Thinking of putting the options in a file; copy that to remote server, make the remote script read the input from the file. BUt not sure if it is the right approach. Can any monks help with the best advice that helps me resolving the issue.
Regards and thanks.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Passing long argument list to remote script
by roboticus (Chancellor) on Feb 27, 2012 at 17:52 UTC | |
by sundialsvc4 (Abbot) on Feb 28, 2012 at 20:26 UTC | |
Re: Passing long argument list to remote script
by JavaFan (Canon) on Feb 27, 2012 at 18:00 UTC | |
Re: Passing long argument list to remote script
by salva (Canon) on Feb 27, 2012 at 21:32 UTC |