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 is a chop() function in perl?
How can memory be managed in Perl?
Explain split function in perl?
Comment on the scope of variables in perl.
How to do comment in perl?
How many data types are there in perl?
Explain ivalue in perl?
What does the q{ } operator do?
What does undef function in perl?
Explain string comparison operators in perl.
What are prefix dereferencer?
What is the difference between use and require in perl programming?
Can inheritance be used in perl? Explain with the help of an example.
How we can navigate the xml documents?
What is perl shift array function?