Perl 6

Moderators: Jonathan
Number of threads: 11
Number of posts: 19

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Programme arguments Posted by saridski on 20 Apr 2008 at 11:17 AM
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.
Report
Re: Programme arguments Posted by zibadian on 20 Apr 2008 at 11:41 AM
: 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.



 

Recent Jobs