in reply to flattening a list-of-lists
sub flatten; sub flatten {map {ref $_ ? flatten @$_ : $_} @_} [download]
Abigail