See Mojo::DOM->attr.
my $hash = $dom->attr; say $_ for keys $hash->%*; # for Perl since 5.36 say $_ for keys %$hash; # for all versions of Perl
In reply to Re: Get a list attributes from a given tag in Mojo::DOM
by Corion
in thread SOLVED: Get a list attributes from a given tag in Mojo::DOM
by igoryonya
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |