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 difference between perl list and perl array?
How do you turn on the perl warnings?
What is caller function in perl?
List all the features of perl programming?
write a script to display mirror image of a entered value and also check whether Palindrome
What is the difference between for & foreach, exec & system?
How many types of operators are used in the Perl?
Difference between Perl and Mod_perl?
What are the characteristics of a project that is well suited to Perl?
How can you call a subroutine and identify a subroutine?
how to connect cisco switch uisng perl script
Explain goto label?