Help for this page

Select Code to Download


  1. or download this
    my @flattened_array = flatten($nested_array_ref);
    
    ...
    
        return @results;
    }
    
  2. or download this
    use Data::Dumper;
    use strict;
    ...
    
    print Dumper(\@flattened_array);
    
  3. or download this
    $VAR1 = [
              'a',
    ...
              'd',
              'value'
            ];