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 having a parenthesis after
module name and without parenthsis after module name??
i.e Package::Module();
and
Package::Module;



What is the difference between having a parenthesis after module name and without parenthsis afte..

Answer / ankur mundhada

Package::Module(); This will throw as error,

I think,the question should be as: What is the difference
between,
Package::MyModule qw(); # FIRST
and
Package::MyModule; # SECOND

# FIRST :- This will not import any subroutine from MyModule.
# SECOND :- This will import all the subroutine from the
MyModule.

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More CGI Perl Interview Questions

What is the closure in PERL?

0 Answers  


How would you ensure the re-use and maximum readability of your perl code?

0 Answers  


Explain which feature of PERL provides code reusability?

0 Answers  


How do I pass a command line argument in perl?

0 Answers  


What are the options that can be used to avoid logic errors in perl?

0 Answers  


What $! In perl?

0 Answers  


You want to add two arrays together. How would you do that?

0 Answers  


What is the Common Gateway Interface?

2 Answers  


What happens to objects lost in "unreachable" memory, such as the object returned by Ob->new() in `{ my $ap; $ap = [ Ob->new(), $ap ]; }' ?

0 Answers  


How to read a single line from a file in perl?

0 Answers  


Explain the different types of data perl can handle.

0 Answers  


What are the advantages and disadvantages of perl language?

0 Answers  


Categories