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

Why Perl aliases are considered to be faster than references?

951


How will you access an element of a perl array?

945


Differentiate between arrays and list in perl.

993


Which functions in Perl allows you to include a module file or a module and what is the difference between them?

1016


What does perl do in linux?

948


Explain ivalue?

1012


What is “grep” function in perl?

1005


What does redo statement do in perl?

1047


What is posix in perl?

946


Write syntax to add two arrays together in perl?

930


What are the logical operators used for small scale operations? Explain them briefly.

988


How can information be put into hashes?

975


What does read () command do?

938


what is CPAN?

998


What is the closure in PERL?

1019