SYNOPSIS use PERLANCAR::Tree::Examples qw(gen_sample_tree); my $tree = gen_sample_tree(size => 'medium1'); DESCRIPTION This distribution can generate sample tree objects of several size (depth + number of nodes) and implementation (hash-based nodes or array-based). I use these example trees for benchmarking or testing in several other distributions.