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

How do I print the entire contents of an array with Perl?

0 Answers  


How do you match one letter in the current locale?

0 Answers  


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

0 Answers  


What is the usage of -i and 0s options?

0 Answers  


what is the main function of fork() in cgi programming?

0 Answers  


Define dynamic scoping.

0 Answers  


how to search a unique pattern in a file by using perl hash map function ??? plz answer me

2 Answers  


What is the use of –w?

0 Answers  


Write a program to decode the data in the form using cgi programming

0 Answers  


Is perl compiler or interpreter?

0 Answers  


What does the command "use strict" do and why should you use it?

2 Answers   Symphony, TCS,


my @array=('data1','data2'); my @array1=('data1','data2'); my ($i,$k); $i=7; $k=7; while($i){ $array [++$#array] = 'ree'; $i--; print "@array"; } while($k){ push(@array1,'ree'); $k--; print "@array1"; } Are these two while loop are doing the same functionality ? What may be the difference?

2 Answers  


Categories