Debian Codegraph @

debian/control

raw
1 Source: libhash-safekeys-perl
2 Maintainer: Debian Perl Group <[email protected]>
3 Uploaders: Mason James <[email protected]>
4 Section: perl
5 Testsuite: autopkgtest-pkg-perl
6 Priority: optional
7 Build-Depends: debhelper-compat (= 13),
8 libtest-simple-perl <!nocheck>,
9 perl-xs-dev,
10 perl:native
11 Standards-Version: 4.6.2
12 Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libhash-safekeys-perl
13 Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libhash-safekeys-perl.git
14 Homepage: https://metacpan.org/release/Hash-SafeKeys
15 Rules-Requires-Root: no
16
17 Package: libhash-safekeys-perl
18 Architecture: any
19 Depends: ${misc:Depends},
20 ${perl:Depends},
21 ${shlibs:Depends},
22 libtest-simple-perl
23 Description: Perl module to get hash contents without resetting each iterator
24 Hash::SafeKeys provides alternate functions to access the keys, values, or
25 entire contents of a hash in a way that does not reset the iterator, making
26 them safe to use in such contexts:
27 .
28 while (my($k,$v) = each %hash) {
29 ...
30 @k = sort safekeys %hash; # Can do
31 @v = grep { /foo/ }, safevalues %hash; # No problem
32 print join ' ', safecopy %hash; # Right away, sir
33 }