- SEE ALSO
- COPYRIGHT AND LICENSE
CPAN::Dist::FromRepoName - Extract CPAN distribution name from a repos name
This document describes version 0.001 of CPAN::Dist::FromRepoName (from Perl distribution CPAN-Info-FromRepoName), released on 2020-10-02.
extract_cpan_dist_from_repo_name($repo_name) -> str
Extract CPAN distribution name from a repos name.
Example #1 (perl-<dist>):
extract_cpan_dist_from_repo_name("perl-Foo-Bar"); # -> "Foo-Bar"
Example #2 (unknown):
extract_cpan_dist_from_repo_name("\@something"); # -> undef
This function is not exported by default, but exportable.
Arguments ('*' denotes required arguments):
$repo_name* => str
Return value: (str)
Please visit the project's homepage at https://metacpan.org/release/CPAN-Info-FromRepoName.
Source repository is at https://github.com/perlancar/perl-CPAN-Info-FromRepoName.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=CPAN-Info-FromRepoName
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
CPAN::Info::FromRepoName, the more generic module which is used by this module.
This software is copyright (c) 2020 by email@example.com.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.