{
    "content": [
        {
            "type": "text",
            "text": "# AppConfig::Sys (perldoc)\n\n## NAME\n\nAppConfig::Sys - Perl5 module defining platform-specific information and methods for other AppConfig::* modules.\n\n## SYNOPSIS\n\nuse AppConfig::Sys;\nmy $sys = AppConfig::Sys->new();\n@fields = $sys->getpwuid($userid);\n@fields = $sys->getpwnam($username);\n\n## DESCRIPTION\n\nUSING THE AppConfig::Sys MODULE\nTo import and use the AppConfig::Sys module the following line should appear in your Perl\nscript:\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **OVERVIEW**\n- **DESCRIPTION** (3 subsections)\n- **AUTHOR**\n- **COPYRIGHT**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "AppConfig::Sys",
        "section": "",
        "mode": "perldoc",
        "summary": "AppConfig::Sys - Perl5 module defining platform-specific information and methods for other AppConfig::* modules.",
        "synopsis": "use AppConfig::Sys;\nmy $sys = AppConfig::Sys->new();\n@fields = $sys->getpwuid($userid);\n@fields = $sys->getpwnam($username);",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "OVERVIEW",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 21,
                "subsections": [
                    {
                        "name": "AppConfig::Sys METHODS",
                        "lines": 2
                    },
                    {
                        "name": "getpwnam",
                        "lines": 4
                    },
                    {
                        "name": "getpwuid",
                        "lines": 4
                    }
                ]
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "AppConfig::Sys - Perl5 module defining platform-specific information and methods for other\nAppConfig::* modules.\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use AppConfig::Sys;\nmy $sys = AppConfig::Sys->new();\n\n@fields = $sys->getpwuid($userid);\n@fields = $sys->getpwnam($username);\n",
                "subsections": []
            },
            "OVERVIEW": {
                "content": "AppConfig::Sys is a Perl5 module provides platform-specific information and operations as\nrequired by other AppConfig::* modules.\n\nAppConfig::Sys is distributed as part of the AppConfig bundle.\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "USING THE AppConfig::Sys MODULE\nTo import and use the AppConfig::Sys module the following line should appear in your Perl\nscript:\n\nuse AppConfig::Sys;\n\nAppConfig::Sys is implemented using object-oriented methods. A new AppConfig::Sys object is\ncreated and initialised using the AppConfig::Sys->new() method. This returns a reference to a\nnew AppConfig::Sys object.\n\nmy $sys = AppConfig::Sys->new();\n\nThis will attempt to detect your operating system and create a reference to a new AppConfig::Sys\nobject that is applicable to your platform. You may explicitly specify an operating system name\nto override this automatic detection:\n\n$unixsys = AppConfig::Sys->new(\"Unix\");\n\nAlternatively, the package variable $AppConfig::Sys::OS can be set to an operating system name.\nThe valid operating system names are: Win32, VMS, Mac, OS2 and Unix. They are not case-specific.\n",
                "subsections": [
                    {
                        "name": "AppConfig::Sys METHODS",
                        "content": "AppConfig::Sys defines the following methods:\n"
                    },
                    {
                        "name": "getpwnam",
                        "content": "Calls the system function getpwnam() if available and returns the result. Returns undef if\nnot available. The cangetpwnam() method can be called to determine if this function is\navailable.\n"
                    },
                    {
                        "name": "getpwuid",
                        "content": "Calls the system function getpwuid() if available and returns the result. Returns undef if\nnot available. The cangetpwuid() method can be called to determine if this function is\navailable.\n"
                    }
                ]
            },
            "AUTHOR": {
                "content": "Andy Wardley, <abw@wardley.org>\n",
                "subsections": []
            },
            "COPYRIGHT": {
                "content": "Copyright (C) 1997-2007 Andy Wardley. All Rights Reserved.\n\nCopyright (C) 1997,1998 Canon Research Centre Europe Ltd.\n\nThis module is free software; you can redistribute it and/or modify it under the term of the\nPerl Artistic License.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "AppConfig, AppConfig::File\n",
                "subsections": []
            }
        }
    }
}