CGI Perl Question:
Download Questions PDF

What is the difference between having a parenthesis after module name and without parenthsis after module name?
i.e Package::Module();
and Package::Module;


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

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

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

Download CGI Perl Interview Questions And Answers PDF

Previous QuestionNext Question
What is the meaning of rigging?Write a Perl script to find a particular word in a paragraph?