use Mojo::DOM; say Mojo::DOM->new('29° C')->at('a')->text;