Top 50 Perl Interview Questions with Answers
1. What does the ‘strict’ pragma do in Perl? a. Enables the use of uninitialized variablesb. Forces variables to be localized before usec. Requires variables to be declared before used. Disables the use of regular expressions Answer: c 2. What is the difference between ‘my’ and ‘local’ in Perl? a. ‘my’ creates a global variable, … Read more