Explain grooving and shortening of arrays and splicing of arrays.

devquora
devquora

Posted On: Feb 22, 2018

 

  • Grooving and shortening of arrays: This can be done by giving a non-existent index to which Perl will automatically adjust the array size as needed.
  • Splicing of arrays: Instead of just extracting another array, splicing just copies and replaces elements from the array using the position specified in the splice function. Syntax: ARRAY, OFFSET, LENGTH, LIST.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Perl Interview Questions

    List all the features of Perl programming.

    Practical extraction and reporting language (PERL) is an open source software which is used to develop web-based applica..

    Perl Interview Questions

    What are the benefits of PERL in using it as a web-based application?

    The benefits of using PERL programming are: PERL is known as the duct tape of the internet. PERL can accelerate the pro..

    Perl Interview Questions

    Talk about the applications of PERL.

    PERL has myriad and varied applications. PERL is used to write Common Gateway Interface scripts and large projects like..