Create a function that is only available inside the scope where it is defined ?
Answer / Meenakshi Singh
"A subroutine (function) in Perl can be made private by defining it within another subroutine or a block using lexical (my) variables."
| Is This Answer Correct ? | 0 Yes | 0 No |
How to sort dates in Perl ?
Explain the various characteristics of perl.
Why do you use only Perl when there a lot of more languages available in market like C, Java?
Can we load binary extension dynamically?
What do you mean by context of a subroutine?
How can you define “my” variables scope in Perl and how it is different from “local” variable scope?
What are perl variables?
write a script to display mirror image of a entered value and also check whether Palindrome
Write a program to download the contents from www.perlinterview.com/answers.php website in Perl.
What is the difference between chop & chomp functions in perl?
10 Answers Cap Gemini, DELL, Electronic Data, TCS,
What does length(%HASH) produce if you have thirty-seven random keys in a newly created hash?
How many types of primary data structures in Perl and what do they mean?