File::H...ir::Unix(3)
πΈ File::HomeDir::Unix πΈ
okay bestie so this is the File::HomeDir::Unix page β it's from the User Contributed Perl Documentation, and it's literally all about finding your home and other directories on legacy Unix π
("legacy" is doing a lot of work in that sentence, iykyk).
β¨ NAME β¨
File::HomeDir::Unix β find your home and other directories on legacy Unix π
π SYNOPSIS π
okay so here's how you actually use it, no cap:
use File::HomeDir;
# Find directories for the current user
$home = File::HomeDir->my_home; # /home/mylogin
$desktop = File::HomeDir->my_desktop; # All of these will...
$docs = File::HomeDir->my_documents; # ...default to home...
$music = File::HomeDir->my_music; # ...directory
$pics = File::HomeDir->my_pictures; #
$videos = File::HomeDir->my_videos; #
$data = File::HomeDir->my_data; #
the way that $home gives you /home/mylogin and then everything else just defaults to your home directory β iconic behaviour honestly π«Ά
π¦ DESCRIPTION π¦
so like, this module provides implementations for determining common user directories β¨
and in normal usage? bestie, this module will always be used via File::HomeDir β you don't call it directly, that's the vibe π
π SUPPORT π
see the support section the main File::HomeDir module πΈ (yes, that's how it's worded, and yes, we're keeping it)
π AUTHORS π
- Adam Kennedy
<adamk@cpan.org>π - Sean M. Burke
<sburke@cpan.org>π
β SEE ALSO β
File::HomeDirFile::HomeDir::Win32(legacy) π
πΈ COPYRIGHT πΈ
copyright is serious business even when you're being cute about it π
- Copyright 2005 - 2011 Adam Kennedy.
- Copyright 2017 - 2020 Jens Rehsack
- Some parts copyright 2000 Sean M. Burke.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself πͺ
The full text of the license can be found in the LICENSE file included with this module π
okay that's the whole page, you ate that π
β¨ β this was File::HomeDir::Unix(3), generated as perl v5.42.0 on 2020-09-29 ππ¦ mwah π
π¦ where this page comes from
- opensuse-leap 16.0: perl-File-HomeDir 1.006-160000.2.2 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms