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 is the use of –w?
What is perl programming?
How to disable the mod_perl from apache_server as i have used perlfect search on the site and its pagination is not working and the remedy is to disable the mod_perl.
How can information be put into hashes?
What is the function of cgiwrap in cgi programming?
Why do you use Perl?
What does perl do in linux?
How to convert strings into an array in perl?
Write a program to download the contents from www.perlinterview.com/answers.php website in Perl.
Where the command line arguments are stored and if you want to read command-line arguments with Perl, how would you do that?
Mention what is cpan?
What is automatic error handling in perl?
We all know private variables exist in perl. But do private METHODS exist in perl ? Eg ?
What is the syntax used in Perl grep function?
How to replace perl array elements?