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...

What is the difference between module and package?

Answer Posted / kiruthikau

- A module is a .pm file containing some Perl code.
- A package is a declaration of the name of the current
scope, e.g.:
package Math::Complex
- Which can occur in the code of a module or a script.
- A module can be used, because it is a physical
'thing', but a package cannot.
- A module may contain several packages:

Is This Answer Correct ?    11 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of now constructor in perl?

972


What value is returned by a lone `return;’ statement?

1059


How and what are closures implemented in perl?

886


Enlist the advantages of using c over perl?

916


When do you use perl programming?

999


how to connect cisco switch uisng perl script

3847


What is a chop() function in perl?

1016


What is qq (double q)operator in perl?

1018


Explain the internal working of cgi

924


What is boolean context?

993


Show the use of sockets for the server and client side of a conversation?

889


What are the steps involved in configuring a server using cgi programming?

899


Why -w argument is used with perl programs?

979


What does `$result = f() .. g()' really return?

1199


How can memory be managed in Perl?

1056