Debian Codegraph @

debian/control

raw
1 Source: libfeature-compat-try-perl
2 Maintainer: Debian Perl Group <[email protected]>
3 Uploaders:
4 Andrius Merkys <[email protected]>,
5 Section: perl
6 Priority: optional
7 Build-Depends:
8 debhelper-compat (= 13),
9 libmodule-build-perl,
10 perl,
11 Build-Depends-Indep:
12 libsyntax-keyword-try-perl (>= 0.27) <!nocheck>,
13 libtest-simple-perl <!nocheck>,
14 Standards-Version: 4.6.0
15 Homepage: https://metacpan.org/release/Feature-Compat-Try
16 Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libfeature-compat-try-perl
17 Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libfeature-compat-try-perl.git
18 Testsuite: autopkgtest-pkg-perl
19 Rules-Requires-Root: no
20
21 Package: libfeature-compat-try-perl
22 Architecture: all
23 Depends:
24 libsyntax-keyword-try-perl (>= 0.27),
25 ${misc:Depends},
26 ${perl:Depends},
27 Description: make try/catch syntax available
28 Feature::Compat::Try is written in preparation for when Perl will gain true
29 native syntax support for try/catch control flow.
30 .
31 Perl added such syntax in the development version 5.33.7, which is enabled by
32 .
33 use feature 'try';
34 .
35 On that version of Perl or later, this module simply enables the core feature
36 equivalent to using it directly. On such Perls, this module will install with
37 no non-core dependencies, and requires no C compiler.
38 .
39 On older versions of Perl before such syntax is available, it is currently
40 provided instead using the Syntax::Keyword::Try module, imported with a
41 special set of options to configure it to recognise exactly and only the same
42 syntax as the core Perl feature, thus ensuring that any code using it will
43 still continue to function on that newer Perl.