Help for this page

Select Code to Download


  1. or download this
    use strict;
    use v5.10;
    ...
    my @arr = rec($hash, '');
    
    say join(',', @arr);
    
  2. or download this
    sub rec {
      my ($hash, $parent, $seen) = @_;
    ...
      }
      return @str;
    }