Explain USE and REQUIREMENT statements?
Answer / Sumit Mehrotra
"The 'use' statement in Perl is used to load Perl modules, which can provide additional functionality. The 'require' statement is also used to load modules but it does not initialize the module until the first time it is actually called."
| Is This Answer Correct ? | 0 Yes | 0 No |
Give an example of using the -n and -p option.
What does this symbol mean '->'?
I have one question regarding to eval function. I know eval function is use for error checking but I am not able to understand below line. eval \'exec perl -S $0 ${1+\"$@\"}\' if 0; $0 for script name $@ set if error occur
How to convert strings into an array in perl?
What rules must be followed by modules in perl.
how to find a substring in a string without using substr built in functions, and print the substring found
Is perl a case sensitive language?
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
What is the use of -w, -t and strict in Perl?
What is it meants by '$_'?
What does file test operators do in perl?
Comment on the scope of variables in perl.