| 1 | Source: libdata-methodproxy-perl |
| 2 | Maintainer: Debian Perl Group <[email protected]> |
| 3 | Uploaders: gregor herrmann <[email protected]> |
| 4 | Section: perl |
| 5 | Testsuite: autopkgtest-pkg-perl |
| 6 | Priority: optional |
| 7 | Build-Depends: debhelper-compat (= 13), |
| 8 | libmodule-build-tiny-perl, |
| 9 | perl |
| 10 | Build-Depends-Indep: libmodule-runtime-perl <!nocheck>, |
| 11 | libtest2-suite-perl <!nocheck> |
| 12 | Standards-Version: 4.5.1 |
| 13 | Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libdata-methodproxy-perl |
| 14 | Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libdata-methodproxy-perl.git |
| 15 | Homepage: https://metacpan.org/release/Data-MethodProxy |
| 16 | Rules-Requires-Root: no |
| 17 | |
| 18 | Package: libdata-methodproxy-perl |
| 19 | Architecture: all |
| 20 | Depends: ${misc:Depends}, |
| 21 | ${perl:Depends}, |
| 22 | libmodule-runtime-perl |
| 23 | Breaks: libconfig-methodproxy-perl |
| 24 | Provides: libconfig-methodproxy-perl |
| 25 | Replaces: libconfig-methodproxy-perl |
| 26 | Description: module to inject dynamic data into static data |
| 27 | A method proxy as provided by the Data::MethodProxy module is an array ref |
| 28 | describing a class method to call and the arguments to pass to it. The first |
| 29 | value of the array ref is the scalar $proxy, followed by a package name, then |
| 30 | a subroutine name which must callable in the package, and a list of any |
| 31 | subroutine arguments. |
| 32 | . |
| 33 | [ '$proxy', 'Foo::Bar', 'baz', 123, 4 ] |
| 34 | . |
| 35 | The above is saying, do this: |
| 36 | . |
| 37 | Foo::Bar->baz( 123, 4 ); |