5 my @list = map { [item
=> $_] } qw
/bread butter beans/;
6 my $initial_lol = [ note
=> [ list
=> [ item
=> 'sample' ] ] ];
7 my ($new_lol) = HTML
::Element
::newchild
($initial_lol, list
=> @list);
9 my $expected = [note
=> [list
=> [item
=> 'bread'], [item
=> 'butter'], [item
=> 'beans']]];
10 Test
::More
::is_deeply
($new_lol, $expected, 'test unrolling');
This page took 0.023827 seconds and 4 git commands to generate.