Alien::Build::Plugin::Decode::Mojo - Plugin to extract links from HTML using Mojo::DOM or Mojo::DOM58
Contents
Copyright And License
This software is copyright (c) 2011-2022 by Graham Ollis.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5
programming language system itself.
perl v5.40.0 2024-11-15 Alien::Build::P...n::Decode::Mojo(3pm)
Description
Note: in most cases you will want to use Alien::Build::Plugin::Download::Negotiate instead. It picks the
appropriate decode plugin based on your platform and environment. In some cases you may need to use this
plugin directly instead.
This plugin decodes an HTML file listing into a list of candidates for your Prefer plugin. It works just
like Alien::Build::Plugin::Decode::HTML except it uses either Mojo::DOM or Mojo::DOM58 to do its job.
This plugin is much lighter than The "Decode::HTML" plugin, and doesn't require XS. It is the default
decode plugin used by Alien::Build::Plugin::Download::Negotiate if it detects that you need to parse an
HTML index.
Name
Alien::Build::Plugin::Decode::Mojo - Plugin to extract links from HTML using Mojo::DOM or Mojo::DOM58
Synopsis
use alienfile;
plugin 'Decode::Mojo';
Force using "Decode::Mojo" via the download negotiator:
use alienfile 1.68;
configure {
requires 'Alien::Build::Plugin::Decode::Mojo';
};
plugin 'Download' => (
...
decoder => 'Decode::Mojo',
);
Version
version 2.84
