http://www.perlmonks.org?node_id=11159948


in reply to Re^2: Get a list attributes from a given tag in Mojo::DOM
in thread SOLVED: Get a list attributes from a given tag in Mojo::DOM

The "main" DOM for the whole document is my $dom = Mojo::DOM->new($data);. Then you likely want to ->find() some element in it, which again is a Mojo::DOM object. I'm sure the linked documentation tells you more about the usage.