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
Why Perl aliases are considered to be faster than references?
How will you access an element of a perl array?
Differentiate between arrays and list in perl.
Which functions in Perl allows you to include a module file or a module and what is the difference between them?
What does perl do in linux?
Explain ivalue?
What is “grep” function in perl?
What does redo statement do in perl?
What is posix in perl?
Write syntax to add two arrays together in perl?
What are the logical operators used for small scale operations? Explain them briefly.
How can information be put into hashes?
What does read () command do?
what is CPAN?
What is the closure in PERL?