Demonstrate subroutines in perl with a simple example.
What are the various file operations in perl. Explain with example.
What does Perl do if you try to exploit the execve(2) race involving setuid scripts?
How can we create perl programs in unix, windows nt, macintosh and os/2 ?
Explain the difference between declarations of 'my' and 'local' variable scope in perl?
How many types of operators are used in the Perl?
How many loop control keywords are there in perl?
Explain about the applications of perl?
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?
What rules must be followed by modules in perl.
What can be done for efficient parameter passing in perl?
What elements of the Perl language could you use to structure your code to allow for maximum re-use and maximum readability?