- or download this
sub word_to_struct {
my ( $word ) = @_;
...
return \%out;
}
- or download this
...
'expletive' => {
...
's' => 2
},
...
- or download this
sub possible {
my ( $tiles_ref, $dict_ref ) = @_;
...
# example:
use Data::Dumper;
print Dumper( possible( [ qw( a b c d e ) ], read_dict() ) );