Scooter
Scooter

Reputation: 7061

Passing command line arguments to a Perl program run using Padre

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

Upvotes: 3

Views: 5019

Answers (1)

DavidO
DavidO

Reputation: 13942

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.

Upvotes: 5

Related Questions