NAME

this-mod - Return name of Perl module associated with the current directory

VERSION

This document describes version 0.011 of this-mod (from Perl distribution App-ThisDist), released on 2021-06-22.

SYNOPSIS

 % pwd
 /home/budi/perl-Foo-Bar

 % this-mod
 Foo::Bar

Some common usage:

 # read documentation about the current module
 % man `this-mod`

 # open documentation abut the current module on MetaCPAN (but see this-mod-on-metacpan script)
 % firefox metacpan.org/pod/`this-mod`

Some other examples:

 # (Re)install this module using L<cpanminus|App::cpanminus>:
 % cpanm -n --reinstall `this-mod`

DESCRIPTION

This script is a wrapper to this-dist, converting the result like Foo-Bar into Foo::Bar.

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/App-ThisDist.

SOURCE

Source repository is at https://github.com/perlancar/perl-App-ThisDist.

BUGS

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

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

this-dist

this-mod-on-metacpan

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

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