{
    "mode": "man",
    "parameter": "perlamiga",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/perlamiga/1/json",
    "generated": "2026-06-15T13:13:14Z",
    "synopsis": "Once perl is installed you can read this document in the following way\nsh -c \"perldoc perlamiga\"\nor you may read as is: either as README.amiga, or pod/perlamiga.pod.",
    "sections": {
        "NAME": {
            "content": "perlamiga - Perl under AmigaOS 4.1\n",
            "subsections": []
        },
        "NOTE": {
            "content": "This is a port of Perl 5.22.1, it is a fresh port and not in any way compatible with my\nprevious ports of Perl 5.8 and 5.16.3. This means you will need to reinstall / rebuild any\nthird party modules you have installed.\n\nnewlib.library version 53.28 or greater is required.\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "Once perl is installed you can read this document in the following way\n\nsh -c \"perldoc perlamiga\"\n\nor you may read as is: either as README.amiga, or pod/perlamiga.pod.\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "",
            "subsections": [
                {
                    "name": "Prerequisites for running Perl 5.22.1 under AmigaOS 4.1",
                    "content": ""
                },
                {
                    "name": "AmigaOS 4.1 update 6 with all updates applied as of 9th October 2013",
                    "content": "The most important of which is:\n"
                },
                {
                    "name": "newlib.library version 53.28 or greater",
                    "content": ""
                },
                {
                    "name": "AmigaOS SDK",
                    "content": "Perl installs into the SDK directory structure and expects many of the build tools\npresent in the SDK to be available. So for the best results install the SDK first.\n"
                },
                {
                    "name": "abc-shell",
                    "content": "If you do not have the SDK installed you must at least have abc-shell installed or some\nother suitable sh port. This is required to run external commands and should be\navailable as 'sh' in your path.\n"
                },
                {
                    "name": "Starting Perl programs under AmigaOS 4.1",
                    "content": "Perl may be run from the AmigaOS shell but for best results should be run under abc-shell.\n(abc-shell handles file globbing, pattern expansion, and sets up environment variables in the\nUN*Xy way that Perl expects.)\n\nFor example:\n\nNew Shell process 10\n10.AmigaOS4:> sh\n/AmigaOS4>perl path:to/myprog arg1 arrg2 arg3\n\nAbc-shell can also launch programs via the #! syntax at the start of the program file, it's\nbest use the form #!SDK:Local/C/perl so that the AmigaOS shell may also find perl in the same\nway. AmigaOS requires the script bit to be set for this to work\n\n10.AmigaOS4:> sh\n/AmigaOS4>myprog arg1 arrg2 arg3\n"
                },
                {
                    "name": "Limitations of Perl under AmigaOS 4.1",
                    "content": ""
                },
                {
                    "name": "Nested Piped programs can crash when run from older abc-shells",
                    "content": "abc-shell version 53.2 has a bug that can cause crashes in the subprocesses used to run\npiped programs, if a later version is available you should install it instead.\n"
                },
                {
                    "name": "Incorrect or unexpected command line unescaping",
                    "content": "newlib.library 53.30 and earlier incorrectly unescape slashed escape sequences e.g. \\\"\n\\n \\t etc requiring unusual extra escaping.\n"
                },
                {
                    "name": "Starting subprocesses via open has limitations",
                    "content": "open FH, \"command |\"\n\nSubprocesses started with open use a minimal popen() routine and therefore they do not\nreturn pids usable with waitpid etc.\n\nIf you find any other limitations or bugs then let me know.\nPlease report bugs in this version of perl to andy@broad.ology.org.uk in the first\ninstance.\n"
                }
            ]
        },
        "INSTALLATION": {
            "content": "This guide assumes you have obtained a prebuilt archive from os4depot.net.\n\nUnpack the main archive to a temporary location (RAM: is fine).\n\nExecute the provided install script from shell or via its icon.\n\nYou must not attempt to install by hand.\n\nOnce installed you may delete the temporary archive.\n\nThis approach will preserve links in the installation without creating duplicate binaries.\n\nIf you have the earlier ports perl 5.16 or 5.8 installed you may like to rename your perl\nexecutable to perl516 or perl58 or something similar before the installation of 5.22.1, this\nwill allow you to use both versions at the same time.\n",
            "subsections": [
                {
                    "name": "Amiga Specific Modules",
                    "content": ""
                },
                {
                    "name": "Amiga::ARexx",
                    "content": "The Amiga::ARexx module allows you to easily create a perl based ARexx host or to send ARexx\ncommands to other programs.\n\nTry \"perldoc Amiga::ARexx\" for more info.\n"
                },
                {
                    "name": "Amiga::Exec",
                    "content": "The Amiga::Exec module introduces support for Wait().\n\nTry \"perldoc Amiga::Exec\" for more info.\n"
                }
            ]
        },
        "BUILDING": {
            "content": "To build perl under AmigaOS from the patched sources you will need to have a recent version\nof the SDK. Version 53.29 is recommended, earlier versions will probably work too.\n\nWith the help of Jarkko Hietaniemi the Configure system has been tweaked to run under abc-\nshell so the recommend build process is as follows.\n\nstack 2000000\nsh Configure -de\ngmake\n\nThis will build the default setup that installs under SDK:local/newlib/lib/\n",
            "subsections": []
        },
        "CHANGES": {
            "content": "",
            "subsections": [
                {
                    "name": "August 2015",
                    "content": "Port to Perl 5.22\nAdd handling of NIL: to afstat()\nFix inheritance of environment variables by subprocesses.\nFix exec, and exit in \"forked\" subprocesses.\nFix issue with newlib's unlink, which could cause infinite loops.\nAdd flock() emulation using IDOS->LockRecord thanks to Tony Cook for the suggestion.\nFix issue where kill was using the wrong kind of process ID"
                },
                {
                    "name": "27th November 2013",
                    "content": "Create new installation system based on installperl links and Amiga protection bits now\nset correctly.\nPod now defaults to text.\nFile::Spec should now recognise an Amiga style absolute path as well as an Unix style\none. Relative paths must always be Unix style."
                },
                {
                    "name": "20th November 2013",
                    "content": "Configured to use SDK:Local/C/perl to start standard scripts\nAdded Amiga::Exec module with support for Wait() and AmigaOS signal numbers."
                },
                {
                    "name": "10th October 13",
                    "content": "First release of port to 5.16.3.\n"
                }
            ]
        },
        "SEE ALSO": {
            "content": "You like this port?  See <http://www.broad.ology.org.uk/amiga/> for how you can help.\n\n\n\nperl v5.34.0                                 2025-07-25                                 PERLAMIGA(1)",
            "subsections": []
        }
    },
    "summary": "perlamiga - Perl under AmigaOS 4.1",
    "flags": [],
    "examples": [],
    "see_also": []
}