Help for this page

Select Code to Download


  1. or download this
    while(my($one,$two)=(shift(@aray),shift(@aray)) ) { ...
    
    #or even
    while(my($one,$two) = splice(@aray,0,2) ) { ...
    
  2. or download this
    my @array = qw/ 1 2 3 4/;
    
    ...
      return ($one, $two);
    
    }