Thursday, August 15, 2013

Perl 에서 element 를 remove 하기

 sub removeArrayElmt  
 {  
      my $array = shift;  
      my $index = shift;  
      splice(@$array, $index, 1);       
 }  
출처 : http://perlmaven.com/splice-to-slice-and-dice-arrays-in-perl

No comments:

Post a Comment