SYNOPSIS

     use Dist::Util::Debian qw(
         dist2deb
         deb_exists
         dist_has_deb
     );
    
     say dist2deb("HTTP-Tiny"); # -> libhttp-tiny-perl
    
     say dist_has_deb("HTTP-Tiny"); # -> 1
     say dist_has_deb("Foo");       # -> 0

DESCRIPTION

FUNCTIONS

 dist2deb($dist) => str

    It uses the simple rule of turning $dist to lowercase and adds "lib" +
    "-perl" prefix and suffix. A small percentage of distributions do not
    follow this rule.

 deb_exists($deb) => bool

 dist_has_deb($dist) => bool

    Return true if distribution named $dist has a corresponding Debian
    package. Currently the way the routine checks this is rather naive: it
    checks the corresponding Debian package against this URL:
    https://packages.debian.org/sid/$package.

    Will warn and return undef on error, e.g. the URL cannot be checked or
    does not contain negative/positive indicator of existence.

