amexmythili has asked for the wisdom of the Perl Monks concerning the following question:


While attended an interview they asked this question. I don't know how to answers for this. Will any body explain this.


1) What will happen if the perl file(*.pl) having the below text only.

my $test;
our $test;
local $test;

2) If you setup a custom Perl repository of Modules for your code, what environment variable should be set to the path for this repository, so that your modules can be used in Perl scripts on the system?

Any one can help me to know about this.
Thanks and regards, Mythili