this-mod - Return name of Perl module associated with the current directory
This document describes version 0.010 of this-mod (from Perl distribution App-ThisDist), released on 2021-05-27.
% 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`
This script is a wrapper to this-dist, converting the result like Foo-Bar into Foo::Bar.
Foo-Bar
Foo::Bar
Please visit the project's homepage at https://metacpan.org/release/App-ThisDist.
Source repository is at https://github.com/perlancar/perl-App-ThisDist.
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.
this-dist
this-mod-on-metacpan
perlancar <perlancar@cpan.org>
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.
To install App::ThisDist, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::ThisDist
CPAN shell
perl -MCPAN -e shell install App::ThisDist
For more information on module installation, please visit the detailed CPAN module installation guide.