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 |
How do I print the entire contents of an array with Perl?
How do you match one letter in the current locale?
What are the steps involved in configuring a server using cgi programming?
What is the usage of -i and 0s options?
what is the main function of fork() in cgi programming?
Define dynamic scoping.
how to search a unique pattern in a file by using perl hash map function ??? plz answer me
What is the use of –w?
Write a program to decode the data in the form using cgi programming
Is perl compiler or interpreter?
What does the command "use strict" do and why should you use it?
my @array=('data1','data2'); my @array1=('data1','data2'); my ($i,$k); $i=7; $k=7; while($i){ $array [++$#array] = 'ree'; $i--; print "@array"; } while($k){ push(@array1,'ree'); $k--; print "@array1"; } Are these two while loop are doing the same functionality ? What may be the difference?