Menu ▾ ▴

passing arguments to perl script in EPIC

Help
neshat
2005-04-29
2013-05-20
  • neshat

    neshat - 2005-04-29

    Hi
    I have written a perl script that takes an argument from command line. How do we pass the same argument when we run the script through EPIC.

     
    • Oliver Brusberg

      Oliver Brusberg - 2005-08-10

      There are ways to do so by configuration, nevertheless I prefer to add temporarily on top of my script something like

      @ARGV = (
          "arg 1", "arg 2", "arg 3",
          "-opt", "optarg",
      );

      This is the fastest way.

       
    • Chris Woodfield

      Chris Woodfield - 2005-10-13

      Under "External Tools" select your program and add
      ${string_prompt} to your Arguments line. This will spawn a text prompt when you run the script where you can type in any arguments you wish.

       

Log in to post a comment.