Passing command line arguments to a Perl program run using Padre

[亡魂溺海] 提交于 2019-12-13 14:27:39

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!