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 rules must be followed by modules in perl.
Define operators used in perl?
Difference between the variables in which chomp function work ?
Comment on data types and variables in perl.
How can you replace the characters from a string and save the number of replacements?
Hi, I am a accountant. I am preparing a balance sheet but because of staff shortage and time pressures I cant complete it on time. There is lot of common data with last years which I need not retype and I can manage by editing last year’s balance sheet ? Is their any software on net where I can do this easily??
How to add elements in a hash in perl?
Write a program to download the contents from www.perlinterview.com/answers.php website in Perl.
What are the different instances used in cgi overhead?
How can memory be managed in Perl?
When would `local $_' in a function ruin your day?
Is perl compiler or interpreter?
How to close a directory in perl?
Explain goto label?
What is stdin in perl?