Answer Posted / sourisengupta
You can consider "my" as local and "local" as global
variable like C,C++.
The scope of "my" lies between the block only but if we
declare one varable global then we can asccess that from
the outside of the block also.
| Is This Answer Correct ? | 2 Yes | 7 No |
Post New Answer View All Answers
What are the steps involved when the cgi program starts running?
What are the advantages of c over Perl?
List the files in current directory sorted by size ?
How do find the length of an array?
what are steps to do to lock the sony ericsson mobile with password?
How many types of operators are used in the Perl?
Explain strftime() function in perl?
How to concatenate strings with perl?
Explain the execution of a program in perl.
Explain chomp, chop, cpan, tk.
What does perl do in linux?
What is the use of strict?
How to dereference a reference?
you are required to replace a char in a string and store the number of replacements. How would you do that?
Explain returning values from subroutines?