Answer Posted / mahendra ratnakar
The variables declared with "my" can live only within the
block it was defined and cannot get its visibility
inherited functions called within that block, but one
defined with "local" can live within the block and have its
visibility in the functions called within that block.
| Is This Answer Correct ? | 12 Yes | 4 No |
Post New Answer View All Answers
What are stdin, stdout and stderr?
List the files in current directory sorted by size ?
How to print escaping characters inside a string in perl?
What are the logical operators used for small scale operations? Explain them briefly.
How will you create a file in perl?
what are the steps involved in reading a cgi script on the server?
What does undef function in perl?
Explain ivalue in perl?
What is the difference between localtime() and gmtime() functions?
What $! In perl?
Explain lexical variables.
Explain gmtime() function in perl?
What value is returned by a lone `return;’ statement?
“Perl regular expressions match the longest string possible”. What is the name of this match?
what is Polymorphism in Perl?