What are the characteristics of a namespace when Perl is in safe mode?
What will be an ideal response?
A new and separate namespace has the following characteristics:
* Each namespace runs in its own scope. The namespace is changed to locate in a different package, and code evaluated in the compartment cannot refer to variables outside its scope.
* The code outside the compartment has the option to share variables within the compartment's namespace. Only the shared data will be visible to code evaluated in the compartment.
* In order to allow Perl operators such as the ones default to $_, and assignment to @_ on subroutine entry to work, all "underscore" variables are shared within the compartments by default.
You might also like to view...
If data is being read from a file for a program in batch mode, a prompt is replaced with what?
What will be an ideal response?
Byte code instructions are
a. machine code instructions b. syntax errors c. read and interpreted by the JVM d. another name for source code