Acme-CPANModules-OpeningFileInApp
view release on metacpan or search on metacpan
lib/Acme/CPANModules/OpeningFileInApp.pm view on Meta::CPAN
package Acme::CPANModules::OpeningFileInApp;
use strict;
our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
our $DATE = '2023-12-19'; # DATE
our $DIST = 'Acme-CPANModules-OpeningFileInApp'; # DIST
our $VERSION = '0.001'; # VERSION
our $LIST = {
summary => 'List of modules to open a file with appropriate application',
entries => [
{
module => 'Desktop::Open',
description => <<'MARKDOWN',
This module tries to select the appropriate application to open a file: using
`start` (on Windows) or `xdg-open` (on other OS, if available), the falls back
to <pm:Browser::Open>.
See <pm:App::DesktopOpenUtils> which includes a CLI for this module:
<prog:open-desktop>.
MARKDOWN
},
{
module => 'Spreadsheet::Open',
description => <<'MARKDOWN',
Similar to <pm:Desktop::Open>, but limiting the apps to spreadsheet
applications.
MARKDOWN
},
{
module => 'App::Open',
scripts => ['openit'],
description => <<'MARKDOWN',
This module and tool requires configuration beforehand.
MARKDOWN
},
{
module => 'Open::This',
scripts => ['ot'],
description => <<'MARKDOWN',
This module (and the included <prog:ot> tool) is geared upon opening a Perl
source code file with a browser. You can specify a module name (e.g.
`Foo::Bar`), a qualified function name (`Foo::Bar::func_name()`), or a sentence
copy-pasted from `git-grep` or stack trace output.
MARKDOWN
},
{
module => 'Browser::Open',
description => <<'MARKDOWN',
A web browser can open many types of files, so this application is sometimes
appropriate. The module will pick an available browser. You don\'t have to
specify the path in URL form, e.g. `file:/path/to/file`; the module recognizes
standard `/unix/path/syntax`.
See <pm:App::BrowserOpenUtils> which provides a simple CLI for the module:
<prog:open-browser>.
MARKDOWN
},
],
};
1;
# ABSTRACT: List of modules to open a file with appropriate application
__END__
=pod
=encoding UTF-8
=head1 NAME
Acme::CPANModules::OpeningFileInApp - List of modules to open a file with appropriate application
=head1 VERSION
This document describes version 0.001 of Acme::CPANModules::OpeningFileInApp (from Perl distribution Acme-CPANModules-OpeningFileInApp), released on 2023-12-19.
=head1 ACME::CPANMODULES ENTRIES
=over
=item L<Desktop::Open>
Author: L<PERLANCAR|https://metacpan.org/author/PERLANCAR>
This module tries to select the appropriate application to open a file: using
C<start> (on Windows) or C<xdg-open> (on other OS, if available), the falls back
to L<Browser::Open>.
See L<App::DesktopOpenUtils> which includes a CLI for this module:
L<open-desktop>.
=item L<Spreadsheet::Open>
Author: L<PERLANCAR|https://metacpan.org/author/PERLANCAR>
Similar to L<Desktop::Open>, but limiting the apps to spreadsheet
applications.
=item L<App::Open>
Author: L<ERIKH|https://metacpan.org/author/ERIKH>
This module and tool requires configuration beforehand.
Script: L<openit>
=item L<Open::This>
Author: L<OALDERS|https://metacpan.org/author/OALDERS>
This module (and the included L<ot> tool) is geared upon opening a Perl
source code file with a browser. You can specify a module name (e.g.
C<Foo::Bar>), a qualified function name (C<Foo::Bar::func_name()>), or a sentence
copy-pasted from C<git-grep> or stack trace output.
Script: L<ot>
=item L<Browser::Open>
Author: L<CFRANKS|https://metacpan.org/author/CFRANKS>
A web browser can open many types of files, so this application is sometimes
appropriate. The module will pick an available browser. You don\'t have to
specify the path in URL form, e.g. C<file:/path/to/file>; the module recognizes
standard C</unix/path/syntax>.
See L<App::BrowserOpenUtils> which provides a simple CLI for the module:
L<open-browser>.
=back
=head1 FAQ
=head2 What is an Acme::CPANModules::* module?
An Acme::CPANModules::* module, like this module, contains just a list of module
names that share a common characteristics. It is a way to categorize modules and
document CPAN. See L<Acme::CPANModules> for more details.
=head2 What are ways to use this Acme::CPANModules module?
( run in 2.244 seconds using v1.01-cache-2.11-cpan-e93a5daba3e )