The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Dist::Zilla::Role::GetSharedFileURL - Get URL to a shared file

VERSION

This document describes version 0.001 of Dist::Zilla::Role::GetSharedFileURL (from Perl distribution Dist-Zilla-Role-GetSharedFileURL), released on 2020-06-18.

PROVIDED METHODS

get_shared_file_url

Usage:

 my $url = $obj->get_shared_file_url($hosting, $path);

Example:

 my $url = $obj->get_shared_file_url('metacpan', 'image1.jpg');      # =>
 my $url = $obj->get_shared_file_url('github', 'subdir/file1.html'); # =>

Known hosting:

  • metacpan

  • github

  • gitlab

  • bitbucket

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/Dist-Zilla-Role-GetSharedFileURL.

SOURCE

Source repository is at https://github.com/perlancar/perl-Dist-Zilla-Role-GetSharedFileURL.

BUGS

Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Dist-Zilla-Role-GetSharedFileURL

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.

SEE ALSO

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2020 by perlancar@cpan.org.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.