OS4 DepotLogo by DaveyD 
(anonymous IP:,2219) 

   Bug tracker
   Locale browser


   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (600)
   o Document (22)
   o Driver (97)
   o Emulation (148)
   o Game (1005)
   o Graphics (499)
   o Library (116)
   o Network (233)
   o Office (66)
   o Utility (927)
   o Video (69)

Total files: 4379

Full index file
Recent index file



Support the site

 Readme for:  Development » Language » perl_newlib.lha

Perl (newlib)

Description: The Practical Report and Extraction Language
Download: perl_newlib.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 22Mb
Version: 5.22.1_02
Date: 16 Dec 2015
Author: Larry wall et al (this port Andy Broad)
Submitter: Andy Broad
Email: andy/broad ology org uk
Homepage: http://www.perl.org
Requirements: AmigaOS 4.1 Update 6 or higher with all public updates as of October 9th 2013. Most importantly newlib 53.28
Category: development/language
Replaces: development/language/perl_newlib.lha
License: Other
Distribute: yes
Min OS Version: 4.1
FileID: 9621
Comments: 4
Snapshots: 0
Videos: 0
Downloads: 291  (Current version)
441  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos Show content Show crashlogs Replace file 
Amiga Release 2 - Fixed up pager support in perldoc, now uses MultiView / More
or Type as found in that order.

You may overide the pager by setting the PAGER variable to the full path of the
new pager


setenv save PAGER MultiViewer:MultiViewer

    perlamiga - Perl under AmigaOS 4.1

    This is a port of Perl 5.22.1, it is a fresh port and not in any way
    compatible with my previous ports of Perl 5.8 and 5.16.3. This means you
    will need to reinstall / rebuild any third party modules you have

    newlib.library version 53.28 or greater is required.

    Once perl is installed you can read this document in the following way

            sh -c "perldoc perlamiga"

    or you may read *as is*: either as README.amiga, or pod/perlamiga.pod.

  Prerequisites for running Perl 5.22.1 under AmigaOS 4.1
    AmigaOS 4.1 update 6 with all updates applied as of 9th October 2013
          The most important of which is:

    newlib.library version 53.28 or greater
    AmigaOS SDK
          Perl installs into the SDK directory structure and expects many of
          the build tools present in the SDK to be available. So for the
          best results install the SDK first.

          If you do not have the SDK installed you must at least have
          abc-shell installed or some other suitable sh port. This is
          required to run external commands and should be available as 'sh'
          in your path.

  Starting Perl programs under AmigaOS 4.1
    Perl may be run from the AmigaOS shell but for best results should be
    run under abc-shell. (abc-shell handles file globbing, pattern
    expansion, and sets up environment variables in the UN*Xy way that Perl

    For example:

            New Shell process 10
            10.AmigaOS4:> sh
            /AmigaOS4>perl path:to/myprog arg1 arrg2 arg3

    Abc-shell can also launch programs via the #! syntax at the start of the
    program file, it's best use the form #!SDK:Local/C/perl so that the
    AmigaOS shell may also find perl in the same way. AmigaOS requires the
    script bit to be set for this to work

            10.AmigaOS4:> sh
            /AmigaOS4>myprog arg1 arrg2 arg3

  Limitations of Perl under AmigaOS 4.1
    Nested Piped programs can crash when run from older abc-shells
          abc-shell version 53.2 has a bug that can cause crashes in the
          subprocesses used to run piped programs, if a later version is
          available you should install it instead.

    Incorrect or unexpected command line unescaping
          newlib.library 53.30 and earlier incorrectly unescape slashed
          escape sequences e.g. " \n \t etc requiring unusual extra

    Starting subprocesses via open has limitations
                  open FH, "command |"

          Subprocesses started with open use a minimal popen() routine and
          therefore they do not return pids usable with waitpid etc.

    If you find any other limitations or bugs then let me know.
          Please report bugs in this version of perl to
          andy()broad.ology.org.uk in the first instance.

    This guide assumes you have obtained a prebuilt archive from

    Unpack the main archive to a temporary location (RAM: is fine).

    Execute the provided install script from shell or via its icon.

    You must not attempt to install by hand.

    Once installed you may delete the temporary archive.

    This approach will preserve links in the installation without creating
    duplicate binaries.

    If you have the earlier ports perl 5.16 or 5.8 installed you may like to
    rename your perl executable to perl516 or perl58 or something similar
    before the installation of 5.22.1, this will allow you to use both
    versions at the same time.

Amiga Specific Modules
    The Amiga::ARexx module allows you to easily create a perl based ARexx
    host or to send ARexx commands to other programs.

    Try "perldoc Amiga::ARexx" for more info.

    The Amiga::Exec module introduces support for Wait().

    Try "perldoc Amiga::Exec" for more info.

    To build perl under AmigaOS from the patched sources you will need to
    have a recent version of the SDK. Version 53.29 is recommended, earlier
    versions will probably work too.

    With the help of Jarkko Hietaniemi the Configure system has been tweaked
    to run under abc-shell so the recommend build process is as follows.

            stack 2000000
            sh Configure -de

    This will build the default setup that installs under

    August 2015

          Port to Perl 5.22
          Add handling of NIL: to afstat()
          Fix inheritance of environment variables by subprocesses.
          Fix exec, and exit in "forked" subprocesses.
          Fix issue with newlib's unlink, which could cause infinite loops.
          Add flock() emulation using IDOS->LockRecord thanks to Tony Cook
          for the suggestion.
          Fix issue where kill was using the wrong kind of process ID

    27th November 2013

          Create new installation system based on installperl links and
          Amiga protection bits now set correctly.
          Pod now defaults to text.
          File::Spec should now recognise an Amiga style absolute path as
          well as an Unix style one. Relative paths must always be Unix

    20th November 2013

          Configured to use SDK:Local/C/perl to start standard scripts
          Added Amiga::Exec module with support for Wait() and AmigaOS
          signal numbers.

    10th October 13
          First release of port to 5.16.3.

    You like this port? See <http://www.broad.ology.org.uk/amiga/> for how
    you can help.

File Version Size Date OS Dls Readme
perl-src.tar.bz25.8.5.0621Mb20 Nov 20084.0153¤ Perl-src - Perl 5.8.5 AmigaOS4 src
perl.tar.bz25.8.5.0610Mb20 Oct 20064.0430¤ Perl - Perl 5.8.5 AmigaOS4
perlpatch.lha1.114kb05 Sep 20114.0293¤ Perlpatch - Patch perl to build dynamic module with latest SDK
Copyright © 2004-2024 by Björn Hagström All Rights Reserved