Multiple choice technology programming languages

What is the name of default namespace in perl?

  1. main

  2. Main

  3. global

  4. name

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Perl's default namespace (package) is "main" - all variables and subroutines not explicitly declared in a package belong to main. Perl is case-sensitive, so "Main" (option B) would be a different package. The "global" option is a distractor.