|
Training, Open Source computer languages
|
|
|
|
Perl Programming quiz, level Intermediate, question 6
| Question: | The variable $0 provides |
| Answer 1: | The name of the program you are running This was the CORRECT answer |
| Answer 2: | A very small number which the system is to treat as zero when you are making comparisons |
| Answer 3: | $0 is just a normal scalar variable |
| Answer 4: | The pre-match string in regular expression matching |
| Answer 5: | You get a syntax error of you refer to $0 |
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.
|
|
©
WELL HOUSE CONSULTANTS LTD., 2012: Well House Manor •
48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 899360 •
EMAIL: info@wellho.net •
WEB: http://www.wellho.net •
SKYPE: wellho |