Perl Programming quiz, level Intermediate, question 17
| Question: | if you run "perl -v" |
| Answer 1: | Perl just gives you a short message telling you what version is running. This was the CORRECT answer |
| Answer 2: | Perl gives you a long report (about 60 lines) telling you which version you are running. |
| Answer 3: | Your Perl program is run in verbose mode which generates extra warning messages if you do things like use uninitialised variables. |
| Answer 4: | Your Perl program is run in verify mode, which means that user-entered variables will not be passed as parameters to dangerous commands such as back-quoted evaluations. |
| Answer 5: | the -v option is the same as starting your program with "use strict;" |
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.
|
|