perl-Dist-HomeDir - easily find the distribution home directory for code never intended to be installed via a package m

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package filename perl-Dist-HomeDir-0.006-alt1.noarch.rpm
Package name perl-Dist-HomeDir
Package version 0.006
Package release alt1
Package architecture noarch
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 24.04 KB
Installed size 24.04 KB
This module was inspired by Catalyst::Utils->home() to obtain the root
directory for obtaining application code and self-contained support data in
directories relative to the distribution root.  It does this by returning a
the Path::Tiny manpage object which has a very nice interface.  However
Catalyst::Utils->home only works for perl classes.  This works for class
files and perl scripts via examining `(caller)[1]' and thus should
never be used in code that will be instaled via a cpan client or other
package manager.
Sometimes support libaries will also live in the `t/lib' directory and the
`script/lib' directory.  `dist_home' will ignore these `lib' directories
as part of finding the distribution root.  Future versions of this module
may make the list of what directories to ignore other `lib' sub directories
user-configurable (patches welcome).
If you want to modify `@INC' with the import syntax in the second example
<<<<<<< HEAD
in the summary, be careful.  In particular if you use the Dist::HomeDir manpage in
test files and in code to be used in production, `@INC' might be modified
in unexpeted ways depending on the structure of your codebase.  The best
thing to do here is only use the import syntax in test files or maybe other
support files (e.g. in `script'), and never in code in the main package


Package Version Architecture Repository
perl-Dist-HomeDir - - -


Name Value
/usr/share/perl5 -
perl(Path/ -
perl( -
rpmlib(PayloadIsLzma) -


Name Value
perl(Dist/ = 0.006
perl-Dist-HomeDir = 0.006-alt1


Type URL
Binary Package perl-Dist-HomeDir-0.006-alt1.noarch.rpm
Source Package perl-Dist-HomeDir-0.006-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    rpm [Sisyphus] noarch autoimports
    rpm [Sisyphus] noarch autoimports
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Dist-HomeDir rpm package:
    # sudo apt-get install perl-Dist-HomeDir



See Also

Package Description
perl-Dist-Iller-0.1408-alt1.noarch.rpm A Dist::Zilla & Pod::Weaver preprocessor
perl-Dist-Iller-Config-Author-CSSON-0.0323-alt1.noarch.rpm Dist::Iller config
perl-Dist-Iller-scripts-0.1408-alt1.noarch.rpm Dist-Iller scripts
perl-Dist-Inkt-0.024-alt1.noarch.rpm yet another distribution builder
perl-Dist-Inkt-Role-Git-0.001-alt1.noarch.rpm Git functions for Dist::Inkt
perl-Dist-Inkt-Role-Hg-0.004-alt1.noarch.rpm Mercurial-related behaviour for Dist::Inkt
perl-Dist-Inkt-Role-Release-0.004-alt1.noarch.rpm automatically upload a distrbution to the CPAN
perl-Dist-Inkt-Role-Test-0.002-alt1.noarch.rpm run various tests on a distribution at build time
perl-Dist-Inkt-Role-Test-Kwalitee-0.002-alt1.noarch.rpm check a distribution's kwalitee at build time
perl-Dist-Inkt-scripts-0.024-alt1.noarch.rpm Dist-Inkt scripts
perl-Dist-Inktly-Minty-0.002-alt1.noarch.rpm a distinctly Dist-Inkt-flavoured distribution mint
perl-Dist-Inktly-Minty-scripts-0.002-alt1.noarch.rpm Dist-Inktly-Minty scripts
perl-Dist-Joseki-0.20-alt1.noarch.rpm Tools for the prolific module author
perl-Dist-Joseki-Command-depends-0.01-alt1.noarch.rpm show your distribution's dependencies
perl-Dist-Joseki-Command-smoke-0.01-alt1.noarch.rpm run smoke tests for your distribution