What is perl shift array function?
Answer / Avneesh Sharma
The shift function in Perl removes and returns the first element of an array.
| Is This Answer Correct ? | 0 Yes | 0 No |
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
Explain about typeglobs?
How to connect with sqlserver from perl and how to display database table info?
You want to empty an array. How would you do that?
List the operator used in Perl?
Explain chop?
What purpose does each of the following serve: -w, strict, - T ?
Explain what is lvalue?
What is 'rollback' command in perl?
Where the command line arguments are stored and if you want to read command-line arguments with Perl, how would you do that?
write a script to generate n prime no.s?
What are the two ways to get private values inside a subroutine?