What is perl shift array function?



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

Post New Answer

More CGI Perl Interview Questions

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

1 Answers  


Explain about typeglobs?

1 Answers  


How to connect with sqlserver from perl and how to display database table info?

1 Answers  


You want to empty an array. How would you do that?

1 Answers  


List the operator used in Perl?

1 Answers  


Explain chop?

1 Answers  


What purpose does each of the following serve: -w, strict, - T ?

2 Answers  


Explain what is lvalue?

1 Answers  


What is 'rollback' command in perl?

1 Answers  


Where the command line arguments are stored and if you want to read command-line arguments with Perl, how would you do that?

1 Answers  


write a script to generate n prime no.s?

2 Answers   Persistent,


What are the two ways to get private values inside a subroutine?

1 Answers  


Categories