Home »
MCQs »
Perl Programming MCQs
Global scope variables can be used –
44. Global scope variables can be used -
- Inside any function or block
- Inside a specific function
- Inside a specific block
- None of these
Answer: A) Inside any function or block
Explanation:
Global scoped variable is declared outside all blocks of code. The scope of this variable inside any function or block.