CIW
1D0-437 · Question #75
In the context of Perl user-defined subroutines, which statement is the most accurate?
The correct answer is D. Variable declared using the local keyword are available to subsequently called subroutines. See the full explanation below for the reasoning.
Question
In the context of Perl user-defined subroutines, which statement is the most accurate?
Options
- AVariables declared usingthe my keyword are global in scope.
- BVariables declared using the local keyword are only available to the subroutine from which they are declared.
- CVariables declared usingthe my keyword are available to the calling subroutine.
- DVariable declared using the local keyword are available to subsequently called subroutines.
How the community answered
(54 responses)- A6% (3)
- B2% (1)
- C9% (5)
- D83% (45)
Community Discussion
No community discussion yet for this question.