Amphiaraus has asked for the wisdom of the Perl Monks concerning the following question:
Is it possible to give a Perl script the following list of parameters? If so what syntax should be used?
1) The log file of a build, which is to be treated as an array of strings, and stored in an array variable. This is now working for me, I am using the syntax:
my @Build_Log_Array = <>;
2) In addition to the above parameter, I would also like my Perl script to take in three other parameters:
a) Build Version (a string)
b) Build Type (a string)
c) Build Attempt Number (an integer)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl script parameters
by lune (Pilgrim) on Oct 16, 2012 at 14:53 UTC | |
|
Re: Perl script parameters
by kennethk (Abbot) on Oct 16, 2012 at 14:50 UTC |