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 some of the key features of objects in perl?
Difference between the variables in which chomp function work ?
You want to read command-line arguements with perl. How would you do that?
What are the steps involved when the cgi program starts running?
What is perl shift array function?
What are the different ways to run cgi?
How to renaming a file in perl programming?
what is Perl one liner?
How to change a directory in perl?
What is a chomp() function in perl?
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 the interpreter is used in Perl?
Explain string comparison operators in perl.
We all know private variables exist in perl. But do private METHODS exist in perl ? Eg ?
What do you mean by context of a subroutine?