{
    "mode": "perldoc",
    "parameter": "File::HomeDir::Unix",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/File%3A%3AHomeDir%3A%3AUnix/json",
    "generated": "2026-06-10T15:51:45Z",
    "synopsis": "use File::HomeDir;\n# Find directories for the current user\n$home    = File::HomeDir->myhome;        # /home/mylogin\n$desktop = File::HomeDir->mydesktop;     # All of these will...\n$docs    = File::HomeDir->mydocuments;   # ...default to home...\n$music   = File::HomeDir->mymusic;       # ...directory\n$pics    = File::HomeDir->mypictures;    #\n$videos  = File::HomeDir->myvideos;      #\n$data    = File::HomeDir->mydata;        #",
    "sections": {
        "NAME": {
            "content": "File::HomeDir::Unix - Find your home and other directories on legacy Unix\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use File::HomeDir;\n\n# Find directories for the current user\n$home    = File::HomeDir->myhome;        # /home/mylogin\n$desktop = File::HomeDir->mydesktop;     # All of these will...\n$docs    = File::HomeDir->mydocuments;   # ...default to home...\n$music   = File::HomeDir->mymusic;       # ...directory\n$pics    = File::HomeDir->mypictures;    #\n$videos  = File::HomeDir->myvideos;      #\n$data    = File::HomeDir->mydata;        #\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This module provides implementations for determining common user directories. In normal usage\nthis module will always be used via File::HomeDir.\n",
            "subsections": []
        },
        "SUPPORT": {
            "content": "See the support section the main File::HomeDir module.\n",
            "subsections": []
        },
        "AUTHORS": {
            "content": "Adam Kennedy <adamk@cpan.org>\n\nSean M. Burke <sburke@cpan.org>\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "File::HomeDir, File::HomeDir::Win32 (legacy)\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Copyright 2005 - 2011 Adam Kennedy.\n\nCopyright 2017 - 2020 Jens Rehsack\n\nSome parts copyright 2000 Sean M. Burke.\n\nThis program is free software; you can redistribute it and/or modify it under the same terms as\nPerl itself.\n\nThe full text of the license can be found in the LICENSE file included with this module.\n",
            "subsections": []
        }
    },
    "summary": "File::HomeDir::Unix - Find your home and other directories on legacy Unix",
    "flags": [],
    "examples": [],
    "see_also": []
}