Perl Programming quiz, level Intermediate, question 34
| Question: | To find the parameters that were passed into your Perl program from the command line, you could use |
| Answer 1: | The list @ARGV This was the CORRECT answer |
| Answer 2: | The scalar $ARGC (to tell you how many parameters there were) and the list @ARGV to tell you their values. |
| Answer 3: | <COMMAND> to read from the command line |
| Answer 4: | Command line input is available in Perl through the Browser::Location module |
This was a question from our quiz ... but we have now provided you with
the answer (above) - we prefer to provide you with information rather than to
puzzle you.
|
|