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 lists and ivalue?
What is the difference between perl list and perl array?
What is perl scripting?
How can we create perl programs in unix, windows nt, macintosh and os/2 ?
What $! In perl?
Why to use perl scripting?
Explain 'grep' function.
Explain lexical variables.
Write a program to decode the data in the form using cgi programming
Why should I use the -w argument with my Perl programs?
What is confess function in perl?
How do I do fill_in_the_blank for each file in a directory?
What is it meants by '$_'?
What is stdin in perl?
List the files in current directory sorted by size ?