diff --git a/examples/entities.pl b/examples/entities.pl index ec9383dee3..3ebc27c642 100644 --- a/examples/entities.pl +++ b/examples/entities.pl @@ -1,6 +1,5 @@ use Mojo::Base -strict; use Mojo::UserAgent; -use Mojo::Util 'trim'; # Extract named character references from HTML Living Standard my $tx = Mojo::UserAgent->new->get('https://html.spec.whatwg.org'); @@ -8,7 +7,7 @@ for my $row ($rows->each) { my $entity = $row->at('td > code')->text; my $codepoints = $row->children('td')->[1]->text; - say trim "$entity $codepoints"; + say "$entity $codepoints"; } 1;