Thanks for the suggestion. I've looked at them but I'm not really sure how to make them work.
Using my browser's devtools, I found specific element I'm wanting to target and did Copy --> Copy Selector. It gave me this:
body > div.js-amu-container-global > div.gc-page-container > div.gc-container.gc-container--fluid > div > div.layout-2col-content.content-section-padded > div.gc-container > div.comic.container.js-comic-2729847.js-item-init.js-item-share.js-comic-swipe.bg-white.border.rounded > div.comic__wrapper > div.comic__container > div > a > picture
I'm really not sure how to use that. Something like this?
my $selector = HTML::Selector::XPath->new("div.comic__container");
I want to parse that piece of HTML code to find the 'data-image' attribute, which I know resides within there very close to that selector point.