| 1 | Source: libmethod-alias-perl |
| 2 | Maintainer: Debian Perl Group <[email protected]> |
| 3 | Uploaders: Niko Tyni <[email protected]> |
| 4 | Section: perl |
| 5 | Testsuite: autopkgtest-pkg-perl |
| 6 | Priority: optional |
| 7 | Build-Depends: debhelper-compat (= 13), libmodule-install-perl |
| 8 | Build-Depends-Indep: perl, |
| 9 | libtest-pod-perl |
| 10 | Standards-Version: 3.9.8 |
| 11 | Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libmethod-alias-perl |
| 12 | Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libmethod-alias-perl.git |
| 13 | Homepage: https://metacpan.org/release/Method-Alias |
| 14 | |
| 15 | Package: libmethod-alias-perl |
| 16 | Architecture: all |
| 17 | Depends: ${perl:Depends}, |
| 18 | ${misc:Depends} |
| 19 | Multi-Arch: foreign |
| 20 | Description: module to create method aliases |
| 21 | The traditional way to create a method alias (provide an alternate |
| 22 | name for a method) is simply a GLOB alias. While this works fine for |
| 23 | functions, it does not work for methods overloaded by a subclass. |
| 24 | . |
| 25 | Instead, Method::Alias creates a number of methods in the caller's |
| 26 | package to call the real method. It is designed to be used as a pragma, |
| 27 | to which you provide a set of pairs of method names. |