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 does the qx{ } operator do?
How to concatenate strings with perl?
Explain goto label?
what is the function of Return Value?
Write a program that explains the symbolic table clearly.
How do I generate a list of all .html files in a directory?
What is the function of virtual documents in cgi programs?
Packing and Unpacking. Hi, I want to get output as 0x23400000345.... in the below example How to get? i tried out, but unable to get the answer $r=0x234; $t=0x345; $y=pack('L L',$t,$r); $x1=unpack('L!',pack('P',$y)); printf("\nThe value is $x1"); I didn't get constant output
Why -w argument is used with perl programs?
What is the usage of -i and 0s options?
Comment on data types and variables in perl.
Why do you program in Perl?