2 use Test::More qw(no_plan);
4 use HTML::Element::Library;
9 $t1 = HTML::Element->new_from_lol
14 [ 'title', 'I like stuff!' ],
20 ['p', 'um, p < 4!', {'class' => 'par123'}],
21 ['div', {foo => 'bar'}, '123'], # at 0.1.2
22 ['div', {jack => 'olantern'}, '456'], # at 0.1.2
28 my $p = $t1->look_down('_tag' => 'body')->look_down(_tag => 'p');
30 is($p->sibdex, 1, "does the p tag have 1 as its index");