Menu

#9 How to provide arguments to run a perl script?

v1.0 (example)
open
nobody
None
5
2004-04-05
2004-04-05
Anonymous
No

When select "Run" (F9), there is no way to provide
arguments for the script.

How are the arguments provided (configured) in this IDE
tool?

Kai

Discussion

  • Nobody/Anonymous

    Logged In: NO

    To do this, you have to use the "Start Parameters" textbox
    entry in the Console Tab. The Console Tab appears at the
    bottom third of the window, and if you cannot see it, you can
    make it visible using the Window->Output Winodws menu.

    You basically use this "Start Parameters" to enter in command
    line switches. To "get" the command line switches (if you
    don't know how), you will need to use the GETOPT::LONG
    perl module, or a similar one.

    Hope this helps!

    -Rob Hajicek

     
  • Nobody/Anonymous

    Logged In: NO

    before pressing run look at the console window and at the
    top of it. There is a line that says Start parameter. Type
    whatever parameters you want into there then press run

     

Log in to post a comment.