Result for 27CE84849ADDF82D3830DAC10B31AA738F2C522A

Query result

Key Value
FileName./usr/lib/perl5/vendor_perl/5.26.1/lib/relative.pm
FileSize3182
MD5AC26E902BBEF30FC73D62ED5F893AAC5
SHA-127CE84849ADDF82D3830DAC10B31AA738F2C522A
SHA-25633E8718B980D248B1F9F26FFD6FE17D1B2D3B7039B72C03F763210D80C84F495
SSDEEP48:P48xAQU8N+7Mrg1J00G9l/8xfjcX7dfy5Eq2yYjTjhV2VdwVM+ijl65UTOWykqMw:PrAQn8mfQfjy7dfy5R7oT23ms6T54t6p
TLSHT1F061423223E42321E86413D57A16CAF09705D2FC533A4B807E78538C6964CA85BFEAD6
hashlookup:parent-total2
hashlookup:trust60

Network graph view

Parents (Total: 2)

The searched file hash is included in 2 parent files which include package known and seen by metalookup. A sample is included below:

Key Value
MD5C9420519F02D79DE558F06540277673A
PackageArchnoarch
PackageDescriptionAdding a path to @INC to load modules from a local directory may seem simple, but has a few common pitfalls to be aware of. Directly adding a relative path to '@INC' means that any later code that changes the current working directory will change where modules are loaded from. This applies to the '.' path that used to be in '@INC' by default until perl 5.26.0, or a relative path added in code like 'use lib 'path/to/lib'', and may be a vulnerability if such a location is not supposed to be writable. Additionally, the commonly used FindBin module relies on interpreter state and the path to the original script invoked by the perl interpreter, sometimes requiring workarounds in uncommon cases like generated or embedded code. This module proposes a more straightforward method: take a path relative to the current file, absolutize it, and add it to '@INC'. If this module is already available to be loaded, it can be used as with lib.pm, passing relative paths, which will be absolutized relative to the current file then passed on to lib. Multiple arguments will be separately absolutized, and absolute paths will be passed on unchanged. For cases where this module cannot be loaded beforehand, the last section of the "SYNOPSIS" can be copy-pasted into a file to perform the same task.
PackageMaintainerhttps://bugs.opensuse.org
PackageNameperl-lib-relative
PackageReleasebp155.1.5
PackageVersion1.001
SHA-1868459B5F1DBC8052122C775DBA6BB4FFE846948
SHA-256BC1DE06E4726117666171BBFA8D6EB44B62D84997CACF3213E7E84CF680DC82F
Key Value
MD593F114BBCE51991E6A8813CF3C1C458F
PackageArchnoarch
PackageDescriptionAdding a path to perlvar/"@INC" to load modules from a local directory may seem simple, but has a few common pitfalls to be aware of. Directly adding a relative path to '@INC' means that any later code that changes the current working directory will change where modules are loaded from. This applies to the '.' path that used to be in '@INC' by default until perl 5.26.0, or a relative path added in code like 'use lib 'path/to/lib'', and may be a vulnerability if such a location is not supposed to be writable. Additionally, the commonly used FindBin module relies on interpreter state and the path to the original script invoked by the perl interpreter, sometimes requiring workarounds in uncommon cases like generated or embedded code. This module proposes a more straightforward method: take a path relative to the perldata/"Special Literals", make it absolute, and add it to '@INC'. If this module is already available to be loaded, it can be used as with the lib manpage.pm, passing relative paths, which will be absolutized relative to the current file then passed on to lib. Multiple arguments will be separately absolutized, and absolute paths will be passed on unchanged. For cases where this module cannot be loaded beforehand, the last section of the /"SYNOPSIS"can be copy-pasted into a file to perform the same task.
PackageMaintainertv <tv>
PackageNameperl-lib-relative
PackageRelease1.mga9
PackageVersion1.1.0
SHA-15791B9F73D20C920EBA8A33DF61DA3733CEDD9AF
SHA-25626551C022D5F8AF510ECA152979655D9590406B906C2CA3CB072653E61715EA8