Help for this page

Select Code to Download


  1. or download this
    use Data::Dumper;
    my @bigarray = (
    ...
    print Dumper \@bigarray;  # before
    ...
    print Dumper \@bigarray;  # after
    
  2. or download this
    splice @$_, 0, 1, split /\*/, $_->[0] for @bigarray;
    
  3. or download this
    foreach my $arr ( @bigarray ){
      my $item = shift @$arr;
      unshift @$arr, split /\*/, $item;
    }