1. What is the path to your Perl installation? 2. Explain the difference between a compiler and an interpreter. 3. Classify the Perl switches given in the perlrunperldoc into two groups: those that...


1. What is the path to your Perl installation?


2. Explain the difference between a compiler and an interpreter.


3. Classify the Perl switches given in the perlrunperldoc into two groups: those that are useful for running a script from the command line and those that are useful in the #! line for self-executing scripts (note that some switches may be useful in both groups). Explain your groupings.


4. When is it useful to make a script self-executable? When is it not necessary?


5. Which of the following are valid Perl variables? Explain what is wrong with the invalid variable names. $foo $foo bar $foo bar $foo%bar $one dark and stormy night $101 dalmations



May 19, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here