Programme arguments

Hi there,

I am wondering if it is possible to gather information regarding a programme that must be executed via perl, regarding the programmes arguments. I want to automate the execution of a different programmes but want to query which arguments are necessary beforehand, so I know how many parameters to include.

I look forward to hearing from you.
s.

Comments

  • : Hi there,
    :
    : I am wondering if it is possible to gather information regarding a
    : programme that must be executed via perl, regarding the programmes
    : arguments. I want to automate the execution of a different
    : programmes but want to query which arguments are necessary
    : beforehand, so I know how many parameters to include.
    :
    : I look forward to hearing from you.
    : s.
    :
    The easiest way is to check the program's documentation or help files. Trying to get the the number and type of the command line options using an automated program (in any language) is quite tricky if not impossible.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion