Packages / openSUSE Tumbleweed / Source / Development/Libraries/Perl / perl-Module-Path

Source Package: perl-Module-Path (0.19-1.39)

get the full path to a locally installed module

This module provides a single function, 'module_path()', which takes a module name and finds the first directory in your '@INC' path where the module is installed locally. It returns the full path to that file, resolving any symlinks. It is portable and only depends on core modules. It works by looking in all the directories in '@INC' for an appropriately named file: I wrote this module because I couldn't find an alternative which dealt with the points listed above, and didn't pull in what seemed like too many dependencies to me. The distribution for 'Module::Path' includes the 'mpath' script, which lets you get the path for a module from the command-line: % mpath Module::Path The 'module_path()' function will also cope if the module name includes '.pm'; this means you can pass a partial path, such as used as the keys in '%INC': module_path('Test/More.pm') eq $INC{'Test/More.pm'} The above is the basis for one of the tests.

Package information

Homepage
[http://search.cpan.org/dist/Module-Path/]
License
Artistic-1.0 or GPL-1.0+
Downstream-Paketbetreuer
Unbekannt: in der indizierten Quelle nicht gemeldet

The following binary packages are built from this source package:

Bekannte Sicherheitslücken

Keine passenden Meldungen in den erfassten Quellen.

Zuletzt synchronisiert:

[CVE-Katalog]

Quellen

  • Authoritative source; repository metadata signature verified

    Signaturnachweis

    tumbleweed-oss-multiarch:4db10cdde3ad82c7e22be35753c9e164b4bdd30f92db4aee17a0d4c94c5f902f

    Repository-signature verification record
    Signed-object SHA-256
    4db10cdde3ad82c7e22be35753c9e164b4bdd30f92db4aee17a0d4c94c5f902f
    Signer fingerprint
    AD485664E901B867051AB15F35A2F86E29B700A4
    Keyring revision
    opensuse-project-signing-key.asc
    SHA-256 b5745739ebfb95b25b8e810f9bcb847fe750ccda598bd85f02f0e974599a6d7e
    Tool and policy
    gpgv (GnuPG) 2.4.9
    openfactory-software-catalog-signature-v1
    Verification time
    Sep 1, 2026
    Repository metadata hash linkage
    Result
    Recorded as verified; digest details unavailable