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

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.