Help for this page

Select Code to Download


  1. or download this
    # Simulate shift. (Does NOT work!)
    for my $i (1 .. $#array) {
         $i--;
    }
    
  2. or download this
    $hash{newkey} = delete $hash{oldkey};