Skip to content

Find if there is a dist for that Perl module

Notifications You must be signed in to change notification settings

uperl/WebService-Dist

Repository files navigation

WebService::Dist static linux

Find if there is a dist for that Perl module

SYNOPSIS

use WebService::Dist;

if(foreign_package_exists 'deb', 'FFI-Platypus')
{
  print "there is a debian package for FFI-Platypus';
}

DESCRIPTION

This modules just provides some functions for determining if a vendor provides a particular CPAN dist as a package.

FUNCTIONS

foreign_package_name

my $name = foreign_package_name $vendor, $name;

Given a valid vendor (deb, rpm, freebsd or openbsd) and a dist or module name (example: FFI::Platypus or FFI-Platypus), return the normal package name for that vendor (example: libffi-platypus-perl).

foreign_package_exists

my $bool = foreign_package_exists $vendor, $name;

Given a vendor and a dist or module name, return true if the vendor provides that package.

AUTHOR

Graham Ollis [email protected]

COPYRIGHT AND LICENSE

This software is copyright (c) 2021-2024 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.

About

Find if there is a dist for that Perl module

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages