From 628287075deed8f474a0a76a361cca118b4d0cb9 Mon Sep 17 00:00:00 2001 From: Azq2 Date: Thu, 25 Apr 2024 19:27:12 +0300 Subject: [PATCH] Update DOM.pod --- lib/HTML5/DOM.pod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/HTML5/DOM.pod b/lib/HTML5/DOM.pod index 9420a30..9d865b0 100644 --- a/lib/HTML5/DOM.pod +++ b/lib/HTML5/DOM.pod @@ -551,7 +551,7 @@ L. =back my $tree = HTML5::DOM->new->parse('
red
blue
') - my $collection = $tree->at('body > div.red, body > div.blue'); + my $collection = $tree->find('body > div.red, body > div.blue'); print $collection->[0]->html; #
red
print $collection->[1]->html; #
blue