What is the difference between having a parenthesis after
module name and without parenthsis after module name??
i.e Package::Module();
and
Package::Module;
Answer Posted / 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 View All Answers
Explain which feature of PERL provides code reusability?
How interpreter is used in perl?
What are the different ways to run cgi?
Give an example of the -i and 0s option usage.
what is CPAN?
What are the advantages of perl programming?
What are perl variables?
Which functions in perl allows you to include a module file. State their differences.
you are required to replace a char in a string and store the number of replacements. How would you do that?
Why we use CGI?
What are the functions that can be performed using cgi program?
What does init 5 and init 0 do?
What is the easiest way to download the contents of a URL with Perl?
what is Perl one liner?
what are steps to do to lock the sony ericsson mobile with password?