Perl Programming quiz, level Advanced, question 3
| Question: | Perl calls a subroutine called AUTOLOAD |
| Answer 1: | When it calls a subroutine that does not exist, either in the module in which the it should exist or in any module from which that inherits. This was the CORRECT answer |
| Answer 2: | From within the use statement |
| Answer 3: | When the Selfloader module has already been loaded via the use statement, and a subroutine that isn't already loaded is called |
| Answer 4: | When a call the eval function, or a s/.../.../ command with the e option, is performed |
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.
|
|