Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Explain the difference between my and local?

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


Please Help Members By Posting Answers For Below Questions

What are the steps involved when the cgi program starts running?

965


What are the advantages of c over Perl?

988


List the files in current directory sorted by size ?

1028


How do find the length of an array?

1193


what are steps to do to lock the sony ericsson mobile with password?

2250


How many types of operators are used in the Perl?

1074


Explain strftime() function in perl?

988


How to concatenate strings with perl?

917


Explain the execution of a program in perl.

1049


Explain chomp, chop, cpan, tk.

995


What does perl do in linux?

993


What is the use of strict?

1000


How to dereference a reference?

1037


you are required to replace a char in a string and store the number of replacements. How would you do that?

979


Explain returning values from subroutines?

1000