问题
Is there a way to pass command line arguments to a Perl program you are running from the Padre menu ("Run->Run Script")?
回答1:
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.
来源:https://stackoverflow.com/questions/12255683/passing-command-line-arguments-to-a-perl-program-run-using-padre