Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Passing arguments to run perl local?

2012-04-18
2013-05-20
  • Joe Chiarelli
    Joe Chiarelli
    2012-04-18

    Figured out how to have perl script run locally. That was working.

    I then modified my perl script to accept ARGV.
    I cant figure out how have eclipse prompt me for an argument so my script will run in eclipse.
    Help!

     
  • abhishekisnot
    abhishekisnot
    2012-04-18

    Add string_prompt as a Program Argument in the Run configuration.

    ${string_prompt:My Prompt Text:Default Value}
    

    There are also a file_prompt and a folder_prompt if you want specifically files\folders.

    These are available through the Variables button on the (x)= Arguments tab of the Run Configuration dialog.