Consider the following program code: $var = 10; package Alpha; $var = 20; { package Beta; $var = 30; } package Gamma; $var = 40; { print $var; } What is the output of this code?

🎲 Try a Random Question  |  Total Questions in Quiz: 75  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
CIW Perl Specialist Exam 1D0-437 - Practice Test 2 — practice the complete quiz, review flashcards, or try a random question.


Consider the following program code: $var = 10; package Alpha; $var = 20; { package Beta; $var = 30; } package Gamma; $var = 40; { print $var; } What is the output of this code?