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 / 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 |
What is the closure in PERL?
How would you ensure the re-use and maximum readability of your perl code?
Explain which feature of PERL provides code reusability?
How do I pass a command line argument in perl?
What are the options that can be used to avoid logic errors in perl?
What $! In perl?
You want to add two arrays together. How would you do that?
What is the Common Gateway Interface?
What happens to objects lost in "unreachable" memory, such as the object returned by Ob->new() in `{ my $ap; $ap = [ Ob->new(), $ap ]; }' ?
How to read a single line from a file in perl?
Explain the different types of data perl can handle.
What are the advantages and disadvantages of perl language?