Key | Value |
---|---|
MD5 | 4F29B2604D9F5B1B3519B8721B664807 |
PackageArch | noarch |
PackageDescription | Provides the functions "deep_get" and "deep_set" that traverse nested data structures to retrieve or set the value located by a list of keys. When traversing, keys are applied according to the type of referenced data structure. A hash will be traversed by hash key, an array by array index, and an object by method call (scalar context with no arguments). If the data structure is not defined, it will be traversed as a hash by default (but not vivified unless in a set operation). You can override how a key is applied, and thus what type of structure is vivified if necessary, by passing the key in a hashref as the value of 'key' (hash) or 'index' (array). deep_set(my $structure, 'foo', 42); # {foo => 42} deep_set(my $structure, {index => 1}, 42); # [undef, 42] deep_set($object, {key => 'foo'}, 42); # sets $object->{foo} directly For the rare case it's needed, you can also use one of the keys 'method' or 'lvalue'. deep_set($object, {method => 'foo'}, 42); # $object->foo(42) deep_set($object, {lvalue => 'foo'}, 42); # $object->foo = 42 Attempting to traverse intermediate structures that are defined and not a reference to a hash, array, or object will result in an exception. If an object method call is the last key in a set operation or the next structure must be vivified, the method will be called passing the new value as an argument or assigned if it is treated as an lvalue. Attempting to call a method on an undefined value or unblessed ref in a set operation will result in an exception. Currently, undefined results from non-lvalue method calls are not vivified back to the object to support setting a further nested value. This may be supported in the future. |
PackageName | perl-Data-DeepAccess |
PackageRelease | 1.4 |
PackageVersion | 0.001 |
SHA-1 | 48A788B0560F377B12D76A7EF3C3F45CE80AF092 |
SHA-256 | FCE3E596C10DF416F171D526891CA1A9CD73F1C6E8CECB005522F199F380B7AD |
hashlookup:children-total | 6 |
hashlookup:trust | 50 |
The searched file hash includes 6 children files known and seen by metalookup. A sample is included below:
Key | Value |
---|---|
FileName | ./usr/lib/perl5/vendor_perl/5.32.0/Data/DeepAccess.pm |
FileSize | 10099 |
MD5 | B8B5259F58E9F86A9A97E247B8EA85F3 |
SHA-1 | 6BB07E6E8B8E6880972E41EFA7C7E0FC6354E928 |
SHA-256 | 26D3E07E3B907CE64DCD1DA7E7EC4FAC9A22370A4558D61764B1F7C3525F857A |
SSDEEP | 192:iuUhF3VgihQqXvjGzCCJF3Vgih01X3j5zKVF3Mgi7A8ndynPiriPiGYxWChr0ziZ:iu6FJQqXvjGzCgFJ01X3j5zKVFQ1dYPg |
TLSH | T1492212447993D23588BEB72D13985424FA1BCA77022A9DE47C4C42BC6F8867CDAF67D0 |
Key | Value |
---|---|
FileName | ./usr/share/doc/packages/perl-Protocol-Redis-Faster/CONTRIBUTING.md |
FileSize | 4430 |
MD5 | B12CD03845C9D8693E432089EF79840A |
SHA-1 | E6B0B404246A9D9E4047A83EEC16819772F9277B |
SHA-256 | 6D10058C16F7FC54D7D75FAE51C03DC1AE122E35D49945E8DCEDAF88830F0E55 |
SSDEEP | 96:gtxJoBuaruz5vLsXLdYewBb9es/HQqNWsaN9xDv9c12txg:ghoEEuzeZi9eVTv1S2U |
TLSH | T1759154BB6540172867C212E091AA50E3B35FD21F5255007A9CAE45ED032FA63E2F79FE |
Key | Value |
---|---|
FileName | ./usr/share/doc/packages/perl-Data-DeepAccess/README |
FileSize | 3922 |
MD5 | EB2736674F90A6E8E7C1AFFFE1D3B602 |
SHA-1 | EE03FD4AA23FB4B2BFE2432861CD8D1D6DE3591C |
SHA-256 | F4326AE81D04CF4B0DBC1E2A3DBD131F9D3650892698C9B96D408CC4C19ED6CF |
SSDEEP | 96:bG7khCz2D0fuj0kKDxrfupczP5gbJd/J0Q2H6o:bG7khCyD0fqExLictOVJ0Qi |
TLSH | T19B8172057915C3A949B0B3FAB6968556EB22C0FB433E89D1788C91EC1F05A3C93FE4E4 |
Key | Value |
---|---|
FileName | ./usr/share/doc/packages/perl-Data-DeepAccess/Changes |
FileSize | 52 |
MD5 | D5F87E553054E8E7C0E6DBA6DFC6B578 |
SHA-1 | EFE69A48EC999F0894327E687D4A9B094903E38C |
SHA-256 | 3A9A943068C31BDCF714322C8065C08CDE25DC4CAE72555D08A3D8ED8221E3EE |
SSDEEP | 3:eI776TUanvFyyGRLS:Xf4Uao9S |
TLSH | T16F90026254A5808E1A504082BA1550184674A20D4A4680597C5C14C807064224747825 |
Key | Value |
---|---|
FileName | ./usr/share/man/man3/Data::DeepAccess.3pm.gz |
FileSize | 2675 |
MD5 | 945F4C33BF6E57973AC8307AF409F436 |
SHA-1 | C93B2A0E97BA4C0E46E56A5020822EBA3A05950B |
SHA-256 | B441B79AEB4DF95DFCD16BD0B9897B5BE3A7D740AD328F9EEFF18EB54850B4D5 |
SSDEEP | 48:XN8xDCX8Lh3NX/dqca8FpKgvTrQTunaMJVaUXUsTWnJfsa7BwVEKGe4+SZr3Z2Lu:qtYWh3hnnpnak8U9TKfZ7mS+ur0WiO |
TLSH | T1FE513B5071F90443212A7C67C2EB6222868F5900EFFEF488834A56AFA54FAF4D03C45F |
Key | Value |
---|---|
FileName | ./usr/share/licenses/perl-Protocol-Redis-Faster/LICENSE |
FileSize | 9037 |
MD5 | 30864D4AC5D358253B1AAA4469E9D3A6 |
SHA-1 | 787961C997D68B0D11384FBF9A27637FACA242C9 |
SHA-256 | 0574735AB8BDCB008292CFA2DFF51FC7BFA4658432152CD2027210A2B4B46C75 |
SSDEEP | 96:UDuWTETk+wPHsre83fL7Bb/mQOL0zjePq/Ef/hQ6a8Ea69w0RR9z1dPT4fo/Bop1:dF77LJmDVV69wef5dPhBq0Kw5EP |
TLSH | T10312A77F778803F205C106AAB725B5DEE37D602E3672005534AEC22C2B1AC6993B75ED |