Run Script")?" /> Run Script")?" /> Run Script")?"/>

Passing command line arguments to a Perl program run using Padre

5k Views Asked by At

Is there a way to pass command line arguments to a Perl program you are running from the Padre menu ("Run->Run Script")?

1

There are 1 best solutions below

1
On BEST ANSWER

Under Tools->Preferences->"Language - Perl5", set "Script arguments" and save.

Or under Tools->Preferences->Advanced, see "run_script_args_default". Set a value, and save.

Either way they do the same thing. You can also use the "Interpreter Arguments" field to set flags for the Perl interpreter.