Result for BED0C4DA93B2AD35F42ED01EDB3E1F4FACDDF494

Query result

Key Value
FileName./usr/share/doc/packages/perl-lib-relative/Changes
FileSize559
MD5E22E6E56573AFC646AAB000B99A5D81A
SHA-1BED0C4DA93B2AD35F42ED01EDB3E1F4FACDDF494
SHA-2564448178B76F5301B2B1E35AD475C006D6381E0789B915A3EB046DED2E9CC0300
SSDEEP12:oVyd7DK1juwSpMH6fiyK1+8L5LqCWZuMv:oVocjetdy++mCWZuu
TLSHT1F3F0C0712AA428691702D642F0976B60871AB0EF4417C818F98E66CD8367524392BA69
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