NAME
Langertha::Raider::Home - Internal resolver of the home and project .raider directories
VERSION
version 0.503
SYNOPSIS
# Internal to Langertha-Raider -- no API promise.
my $home = Langertha::Raider::Home->home_dir; # $ENV{HOME}, else getpwuid
my $user = Langertha::Raider::Home->home_base; # ~/.raider
my $proj = Langertha::Raider::Home->project_base($root); # <root>/.raider
DESCRIPTION
Internal module. Its interface may change without notice.
The one place that knows where the .raider directories of a user and of a project live (ADR 0011). Class methods only; every path is returned as an absolute Path::Tiny.
home_dir
The user's home: $ENV{HOME}, else the home from the password database. May be undef when neither knows one.
dir_name
The name of the directory inside a home or project, .raider.
home_base
my $base = Langertha::Raider::Home->home_base; # ~/.raider
my $base = Langertha::Raider::Home->home_base($home); # <home>/.raider
.raider under the given home, by default under "home_dir". Returns nothing when there is no home at all.
project_base
.raider under the given project root.
SUPPORT
Issues
Please report bugs and feature requests on GitHub at https://github.com/Getty/langertha-raider/issues.
IRC
Join #langertha on irc.perl.org or message Getty directly.
CONTRIBUTING
Contributions are welcome! Please fork the repository and submit a pull request.
AUTHOR
Torsten Raudssus <torsten@raudssus.de> https://raudssus.de/
COPYRIGHT AND LICENSE
This software is copyright (c) 2026 by Torsten Raudssus.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.