CINXE.COM

perlamiga - Perl under Amiga OS - Perldoc Browser

<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>perlamiga - Perl under Amiga OS - Perldoc Browser</title> <link rel="search" href="/opensearch.xml" type="application/opensearchdescription+xml" title="Perldoc Browser"> <link rel="canonical" href="https://perldoc.perl.org/perlamiga"> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/styles/stackoverflow-light.min.css" integrity="sha512-cG1IdFxqipi3gqLmksLtuk13C+hBa57a6zpWxMeoY3Q9O6ooFxq50DayCdm0QrDgZjMUn23z/0PMZlgft7Yp5Q==" crossorigin="anonymous" /> <style> body { background: #f4f4f5; color: #020202; } .navbar-dark { background-image: -webkit-linear-gradient(top, #005f85 0, #002e49 100%); background-image: -o-linear-gradient(top, #005f85 0, #002e49 100%); background-image: linear-gradient(to bottom, #005f85 0, #002e49 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff005f85', endColorstr='#ff002e49', GradientType=0); background-repeat: repeat-x; } .navbar-dark .navbar-nav .nav-link, .navbar-dark .navbar-nav .nav-link:focus { color: #fff } .navbar-dark .navbar-nav .nav-link:hover { color: #ffef68 } #wrapperlicious { margin: 0 auto; font: 0.9em 'Helvetica Neue', Helvetica, sans-serif; font-weight: normal; line-height: 1.5em; margin: 0; padding: 0; } #wrapperlicious h1 { font-size: 1.5em } #wrapperlicious h2 { font-size: 1.3em } #wrapperlicious h3 { font-size: 1.1em } #wrapperlicious h4 { font-size: 0.9em } #wrapperlicious h1, #wrapperlicious h2, #wrapperlicious h3, #wrapperlicious h4, #wrapperlicious dt { color: #020202; margin-top: 1em; margin-bottom: 1em; position: relative; font-weight: bold; } #wrapperlicious a { color: inherit; text-decoration: underline } #wrapperlicious #toc { text-decoration: none } #wrapperlicious a:hover { color: #2a2a2a } #wrapperlicious a img { border: 0 } #wrapperlicious :not(pre) > code { color: inherit; background-color: rgba(0, 0, 0, 0.04); border-radius: 3px; font: 0.9em Consolas, Menlo, Monaco, monospace; padding: 0.3em; } #wrapperlicious dd { margin: 0; margin-left: 2em; } #wrapperlicious dt { color: #2a2a2a; font-weight: bold; margin-left: 0.9em; } #wrapperlicious p { margin-bottom: 1em; margin-top: 1em; } #wrapperlicious li > p { margin-bottom: 0; margin-top: 0; } #wrapperlicious pre { border: 1px solid #c1c1c1; border-radius: 3px; font: 100% Consolas, Menlo, Monaco, monospace; margin-bottom: 1em; margin-top: 1em; } #wrapperlicious pre > code { display: block; background-color: #f6f6f6; font: 0.9em Consolas, Menlo, Monaco, monospace; line-height: 1.5em; text-align: left; white-space: pre; padding: 1em; } #wrapperlicious dl, #wrapperlicious ol, #wrapperlicious ul { margin-bottom: 1em; margin-top: 1em; } #wrapperlicious ul { list-style-type: square; } #wrapperlicious ul ul { margin-bottom: 0px; margin-top: 0px; } #footer { font-size: 0.8em; padding-top: 0.5em; text-align: center; } #more { display: inline; font-size: 0.8em; } #perldocdiv { background-color: #fff; border: 1px solid #c1c1c1; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; margin-left: auto; margin-right: auto; padding: 3em; padding-top: 1em; max-width: 960px; } #moduleversion { float: right } #wrapperlicious .leading-notice { font-style: italic; padding-left: 1em; margin-top: 1em; margin-bottom: 1em; } #wrapperlicious .permalink { display: none; left: -0.75em; position: absolute; padding-right: 0.25em; text-decoration: none; } #wrapperlicious h1:hover .permalink, #wrapperlicious h2:hover .permalink, #wrapperlicious h3:hover .permalink, #wrapperlicious h4:hover .permalink, #wrapperlicious dt:hover .permalink { display: block; } </style> <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-KVNWBNT5FB"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-KVNWBNT5FB'); gtag('config', 'UA-50555-3'); </script> </head> <body> <nav class="navbar navbar-expand-md navbar-dark bg-dark justify-content-between"> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button> <a class="navbar-brand" href="/"><img src="/images/perl_camel_30.png" width="30" height="30" class="d-inline-block align-top" alt="Perl Camel Logo"> Perldoc Browser</a> <div class="collapse navbar-collapse" id="navbarNav"> <ul class="navbar-nav mr-auto"> <li class="nav-item dropdown text-nowrap"> <a class="nav-link dropdown-toggle" href="#" id="dropdownlink-stable" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">5.8.8</a> <div class="dropdown-menu" aria-labelledby="dropdownlink-stable"> <a class="dropdown-item" href="/perlamiga">Latest</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/5.40.1/perlamiga">5.40.1</a> <a class="dropdown-item" href="/5.40.0/perlamiga">5.40.0</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/5.38.3/perlamiga">5.38.3</a> <a class="dropdown-item" href="/5.38.2/perlamiga">5.38.2</a> <a class="dropdown-item" href="/5.38.1/perlamiga">5.38.1</a> <a class="dropdown-item" href="/5.38.0/perlamiga">5.38.0</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/5.36.3/perlamiga">5.36.3</a> <a class="dropdown-item" href="/5.36.2/perlamiga">5.36.2</a> <a class="dropdown-item" href="/5.36.1/perlamiga">5.36.1</a> <a class="dropdown-item" href="/5.36.0/perlamiga">5.36.0</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/5.34.3/perlamiga">5.34.3</a> <a class="dropdown-item" href="/5.34.2/perlamiga">5.34.2</a> <a class="dropdown-item" href="/5.34.1/perlamiga">5.34.1</a> <a class="dropdown-item" href="/5.34.0/perlamiga">5.34.0</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/5.32.1/perlamiga">5.32.1</a> <a class="dropdown-item" href="/5.32.0/perlamiga">5.32.0</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/5.30.3/perlamiga">5.30.3</a> <a class="dropdown-item" href="/5.30.2/perlamiga">5.30.2</a> <a class="dropdown-item" href="/5.30.1/perlamiga">5.30.1</a> <a class="dropdown-item" href="/5.30.0/perlamiga">5.30.0</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/5.28.3/perlamiga">5.28.3</a> <a class="dropdown-item" href="/5.28.2/perlamiga">5.28.2</a> <a class="dropdown-item" href="/5.28.1/perlamiga">5.28.1</a> <a class="dropdown-item" href="/5.28.0/perlamiga">5.28.0</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/5.26.3/perlamiga">5.26.3</a> <a class="dropdown-item" href="/5.26.2/perlamiga">5.26.2</a> <a class="dropdown-item" href="/5.26.1/perlamiga">5.26.1</a> <a class="dropdown-item" href="/5.26.0/perlamiga">5.26.0</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/5.24.4/perlamiga">5.24.4</a> <a class="dropdown-item" href="/5.24.3/perlamiga">5.24.3</a> <a class="dropdown-item" href="/5.24.2/perlamiga">5.24.2</a> <a class="dropdown-item" href="/5.24.1/perlamiga">5.24.1</a> <a class="dropdown-item" href="/5.24.0/perlamiga">5.24.0</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/5.22.4/perlamiga">5.22.4</a> <a class="dropdown-item" href="/5.22.3/perlamiga">5.22.3</a> <a class="dropdown-item" href="/5.22.2/perlamiga">5.22.2</a> <a class="dropdown-item" href="/5.22.1/perlamiga">5.22.1</a> <a class="dropdown-item" href="/5.22.0/perlamiga">5.22.0</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/5.20.3/perlamiga">5.20.3</a> <a class="dropdown-item" href="/5.20.2/perlamiga">5.20.2</a> <a class="dropdown-item" href="/5.20.1/perlamiga">5.20.1</a> <a class="dropdown-item" href="/5.20.0/perlamiga">5.20.0</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/5.18.4/perlamiga">5.18.4</a> <a class="dropdown-item" href="/5.18.3/perlamiga">5.18.3</a> <a class="dropdown-item" href="/5.18.2/perlamiga">5.18.2</a> <a class="dropdown-item" href="/5.18.1/perlamiga">5.18.1</a> <a class="dropdown-item" href="/5.18.0/perlamiga">5.18.0</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/5.16.3/perlamiga">5.16.3</a> <a class="dropdown-item" href="/5.16.2/perlamiga">5.16.2</a> <a class="dropdown-item" href="/5.16.1/perlamiga">5.16.1</a> <a class="dropdown-item" href="/5.16.0/perlamiga">5.16.0</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/5.14.4/perlamiga">5.14.4</a> <a class="dropdown-item" href="/5.14.3/perlamiga">5.14.3</a> <a class="dropdown-item" href="/5.14.2/perlamiga">5.14.2</a> <a class="dropdown-item" href="/5.14.1/perlamiga">5.14.1</a> <a class="dropdown-item" href="/5.14.0/perlamiga">5.14.0</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/5.12.5/perlamiga">5.12.5</a> <a class="dropdown-item" href="/5.12.4/perlamiga">5.12.4</a> <a class="dropdown-item" href="/5.12.3/perlamiga">5.12.3</a> <a class="dropdown-item" href="/5.12.2/perlamiga">5.12.2</a> <a class="dropdown-item" href="/5.12.1/perlamiga">5.12.1</a> <a class="dropdown-item" href="/5.12.0/perlamiga">5.12.0</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/5.10.1/perlamiga">5.10.1</a> <a class="dropdown-item" href="/5.10.0/perlamiga">5.10.0</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/5.8.9/perlamiga">5.8.9</a> <a class="dropdown-item active" href="/5.8.8/perlamiga">5.8.8</a> <a class="dropdown-item" href="/5.8.7/perlamiga">5.8.7</a> <a class="dropdown-item" href="/5.8.6/perlamiga">5.8.6</a> <a class="dropdown-item" href="/5.8.5/perlamiga">5.8.5</a> <a class="dropdown-item" href="/5.8.4/perlamiga">5.8.4</a> <a class="dropdown-item" href="/5.8.3/perlamiga">5.8.3</a> <a class="dropdown-item" href="/5.8.2/perlamiga">5.8.2</a> <a class="dropdown-item" href="/5.8.1/perlamiga">5.8.1</a> <a class="dropdown-item" href="/5.8.0/perlamiga">5.8.0</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/5.6.2/perlamiga">5.6.2</a> <a class="dropdown-item" href="/5.6.1/perlamiga">5.6.1</a> <a class="dropdown-item" href="/5.6.0/perlamiga">5.6.0</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/5.005_04/perlamiga">5.005_04</a> <a class="dropdown-item" href="/5.005_03/perlamiga">5.005_03</a> <a class="dropdown-item" href="/5.005_02/perlamiga">5.005_02</a> <a class="dropdown-item" href="/5.005_01/perlamiga">5.005_01</a> <a class="dropdown-item" href="/5.005/perlamiga">5.005</a> </div> </li> <li class="nav-item dropdown text-nowrap"> <a class="nav-link dropdown-toggle" href="#" id="dropdownlink-dev" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Dev</a> <div class="dropdown-menu" aria-labelledby="dropdownlink-dev"> <a class="dropdown-item" href="/blead/perlamiga">blead</a> <a class="dropdown-item" href="/5.41.9/perlamiga">5.41.9</a> <a class="dropdown-item" href="/5.41.8/perlamiga">5.41.8</a> <a class="dropdown-item" href="/5.41.7/perlamiga">5.41.7</a> <a class="dropdown-item" href="/5.41.6/perlamiga">5.41.6</a> <a class="dropdown-item" href="/5.41.5/perlamiga">5.41.5</a> <a class="dropdown-item" href="/5.41.4/perlamiga">5.41.4</a> <a class="dropdown-item" href="/5.41.3/perlamiga">5.41.3</a> <a class="dropdown-item" href="/5.41.2/perlamiga">5.41.2</a> <a class="dropdown-item" href="/5.41.1/perlamiga">5.41.1</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/5.40.1-RC1/perlamiga">5.40.1-RC1</a> <a class="dropdown-item" href="/5.40.0-RC2/perlamiga">5.40.0-RC2</a> <a class="dropdown-item" href="/5.40.0-RC1/perlamiga">5.40.0-RC1</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/5.39.10/perlamiga">5.39.10</a> <a class="dropdown-item" href="/5.39.9/perlamiga">5.39.9</a> <a class="dropdown-item" href="/5.39.8/perlamiga">5.39.8</a> <a class="dropdown-item" href="/5.39.7/perlamiga">5.39.7</a> <a class="dropdown-item" href="/5.39.6/perlamiga">5.39.6</a> <a class="dropdown-item" href="/5.39.5/perlamiga">5.39.5</a> <a class="dropdown-item" href="/5.39.4/perlamiga">5.39.4</a> <a class="dropdown-item" href="/5.39.3/perlamiga">5.39.3</a> <a class="dropdown-item" href="/5.39.2/perlamiga">5.39.2</a> <a class="dropdown-item" href="/5.39.1/perlamiga">5.39.1</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/5.38.3-RC1/perlamiga">5.38.3-RC1</a> </div> </li> <li class="nav-item dropdown text-nowrap"> <a class="nav-link dropdown-toggle" href="#" id="dropdownlink-nav" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Documentation</a> <div class="dropdown-menu" aria-labelledby="dropdownlink-nav"> <a class="dropdown-item" href="/5.8.8/perl">Perl</a> <a class="dropdown-item" href="/5.8.8/perlintro">Intro</a> <a class="dropdown-item" href="/5.8.8/perl#Tutorials">Tutorials</a> <a class="dropdown-item" href="/5.8.8/perlfaq">FAQs</a> <a class="dropdown-item" href="/5.8.8/perl#Reference-Manual">Reference</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/5.8.8/perlop">Operators</a> <a class="dropdown-item" href="/5.8.8/functions">Functions</a> <a class="dropdown-item" href="/5.8.8/variables">Variables</a> <a class="dropdown-item" href="/5.8.8/modules">Modules</a> <a class="dropdown-item" href="/5.8.8/perlutil">Utilities</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/5.8.8/perldelta">Release Notes</a> <a class="dropdown-item" href="/5.8.8/perlcommunity">Community</a> <a class="dropdown-item" href="/5.8.8/perlhist">History</a> </div> </li> </ul> <ul class="navbar-nav"> <script> function set_expand (expand) { var perldocdiv = document.getElementById('perldocdiv'); var width = window.getComputedStyle(perldocdiv).getPropertyValue('max-width'); var expanded = (width == '' || width == 'none') ? true : false; if (expand === null) { expand = !expanded; } if ((expand && !expanded) || (!expand && expanded)) { perldocdiv.style.setProperty('max-width', expand ? 'none' : '960px'); var button_classlist = document.getElementById('content-expand-button').classList; if (expand) { button_classlist.add('btn-light'); button_classlist.remove('btn-outline-light'); } else { button_classlist.add('btn-outline-light'); button_classlist.remove('btn-light'); } } return expand; } function toggle_expand () { var expand = set_expand(null); document.cookie = 'perldoc_expand=' + (expand ? 1 : 0) + '; path=/; expires=Tue, 19 Jan 2038 03:14:07 UTC'; } function read_expand () { return document.cookie.split(';').some(function (item) { return item.indexOf('perldoc_expand=1') >= 0 }); } if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', function () { if (read_expand()) { set_expand(true); } }); } else if (read_expand()) { set_expand(true); } </script> <button id="content-expand-button" type="button" class="btn btn-outline-light d-none d-lg-inline-block mr-4" onclick="toggle_expand()">Expand</button> </ul> <form class="form-inline" method="get" action="/5.8.8/search"> <input class="form-control mr-3" type="search" name="q" placeholder="Search" aria-label="Search" value=""> </form> </div> </nav> <div id="wrapperlicious" class="container-fluid"> <div id="perldocdiv"> <div id="links"> <a href="/5.8.8/perlamiga">perlamiga</a> <div id="more"> (<a href="/5.8.8/perlamiga.txt">source</a>, <a href="https://metacpan.org/pod/perlamiga">CPAN</a>) </div> </div> <div class="leading-notice"> You are viewing the version of this documentation from Perl 5.8.8. <a href="/perlamiga">View the latest version</a> </div> <h1><a id="toc">CONTENTS</a></h1> <ul> <li> <a class="text-decoration-none" href="#NAME">NAME</a> </li> <li> <a class="text-decoration-none" href="#NOTE">NOTE</a> </li> <li> <a class="text-decoration-none" href="#SYNOPSIS">SYNOPSIS</a> </li> <li> <a class="text-decoration-none" href="#DESCRIPTION">DESCRIPTION</a> <ul> <li> <a class="text-decoration-none" href="#Prerequisites-for-Compiling-Perl-on-AmigaOS">Prerequisites for Compiling Perl on AmigaOS</a> </li> <li> <a class="text-decoration-none" href="#Starting-Perl-programs-under-AmigaOS">Starting Perl programs under AmigaOS</a> </li> <li> <a class="text-decoration-none" href="#Shortcomings-of-Perl-under-AmigaOS">Shortcomings of Perl under AmigaOS</a> </li> </ul> </li> <li> <a class="text-decoration-none" href="#INSTALLATION">INSTALLATION</a> </li> <li> <a class="text-decoration-none" href="#Accessing-documentation">Accessing documentation</a> <ul> <li> <a class="text-decoration-none" href="#Manpages-for-Perl-on-AmigaOS">Manpages for Perl on AmigaOS</a> </li> <li> <a class="text-decoration-none" href="#Perl-HTML-Documentation-on-AmigaOS">Perl HTML Documentation on AmigaOS</a> </li> <li> <a class="text-decoration-none" href="#Perl-GNU-Info-Files-on-AmigaOS">Perl GNU Info Files on AmigaOS</a> </li> <li> <a class="text-decoration-none" href="#Perl-LaTeX-Documentation-on-AmigaOS">Perl LaTeX Documentation on AmigaOS</a> </li> </ul> </li> <li> <a class="text-decoration-none" href="#BUILDING-PERL-ON-AMIGAOS">BUILDING PERL ON AMIGAOS</a> <ul> <li> <a class="text-decoration-none" href="#Build-Prerequisites-for-Perl-on-AmigaOS">Build Prerequisites for Perl on AmigaOS</a> </li> <li> <a class="text-decoration-none" href="#Getting-the-Perl-Source-for-AmigaOS">Getting the Perl Source for AmigaOS</a> </li> <li> <a class="text-decoration-none" href="#Making-Perl-on-AmigaOS">Making Perl on AmigaOS</a> </li> <li> <a class="text-decoration-none" href="#Testing-Perl-on-AmigaOS">Testing Perl on AmigaOS</a> </li> <li> <a class="text-decoration-none" href="#Installing-the-built-Perl-on-AmigaOS">Installing the built Perl on AmigaOS</a> </li> </ul> </li> <li> <a class="text-decoration-none" href="#PERL-5.8.0-BROKEN-IN-AMIGAOS">PERL 5.8.0 BROKEN IN AMIGAOS</a> </li> <li> <a class="text-decoration-none" href="#AUTHORS">AUTHORS</a> </li> <li> <a class="text-decoration-none" href="#SEE-ALSO">SEE ALSO</a> </li> </ul> <h1 id="NAME"><a class="permalink" href="#NAME">#</a>NAME</h1> <p>perlamiga - Perl under Amiga OS</p> <h1 id="NOTE"><a class="permalink" href="#NOTE">#</a>NOTE</h1> <p><b>Perl 5.8.0 cannot be built in AmigaOS. You can use either the maintenance release Perl 5.6.1 or the development release Perl 5.7.2 in AmigaOS. See <a href="#PERL-5.8.0-BROKEN-IN-AMIGAOS">&quot;PERL 5.8.0 BROKEN IN AMIGAOS&quot;</a> if you want to help fixing this problem.</b></p> <h1 id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">#</a>SYNOPSIS</h1> <p>One can read this document in the following formats:</p> <pre><code class="plaintext">man perlamiga multiview perlamiga.guide</code></pre> <p>to list some (not all may be available simultaneously), or it may be read <i>as is</i>: either as <i>README.amiga</i>, or <i>pod/perlamiga.pod</i>.</p> <p>A recent version of perl for the Amiga can be found at the Geek Gadgets section of the Aminet:</p> <pre><code class="plaintext">http://www.aminet.net/~aminet/dev/gg/index.html</code></pre> <h1 id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">#</a>DESCRIPTION</h1> <h2 id="Prerequisites-for-Compiling-Perl-on-AmigaOS"><a class="permalink" href="#Prerequisites-for-Compiling-Perl-on-AmigaOS">#</a><a id="Prerequisites"></a>Prerequisites for Compiling Perl on AmigaOS</h2> <dl> <dt id="Unix-emulation-for-AmigaOS:-ixemul.library"><a class="permalink" href="#Unix-emulation-for-AmigaOS:-ixemul.library">#</a><a id="Unix"></a><b>Unix emulation for AmigaOS: ixemul.library</b></dt> <dd> <p>You need the Unix emulation for AmigaOS, whose most important part is <b>ixemul.library</b>. For a minimum setup, get the latest versions of the following packages from the Aminet archives ( http://www.aminet.net/~aminet/ ):</p> <pre><code class="plaintext">ixemul-bin ixemul-env-bin pdksh-bin</code></pre> <p>Note also that this is a minimum setup; you might want to add other packages of <b>ADE</b> (the <i>Amiga Developers Environment</i>).</p> </dd> <dt id="Version-of-Amiga-OS"><a class="permalink" href="#Version-of-Amiga-OS">#</a><a id="Version"></a><b>Version of Amiga OS</b></dt> <dd> <p>You need at the very least AmigaOS version 2.0. Recommended is version 3.1.</p> </dd> </dl> <h2 id="Starting-Perl-programs-under-AmigaOS"><a class="permalink" href="#Starting-Perl-programs-under-AmigaOS">#</a><a id="Starting"></a>Starting Perl programs under AmigaOS</h2> <p>Start your Perl program <i>foo</i> with arguments <code>arg1 arg2 arg3</code> the same way as on any other platform, by</p> <pre><code class="plaintext">perl foo arg1 arg2 arg3</code></pre> <p>If you want to specify perl options <code>-my_opts</code> to the perl itself (as opposed to your program), use</p> <pre><code class="plaintext">perl -my_opts foo arg1 arg2 arg3</code></pre> <p>Alternately, you can try to get a replacement for the system&#39;s <b>Execute</b> command that honors the #!/usr/bin/perl syntax in scripts and set the s-Bit of your scripts. Then you can invoke your scripts like under UNIX with</p> <pre><code class="plaintext">foo arg1 arg2 arg3</code></pre> <p>(Note that having *nixish full path to perl <i>/usr/bin/perl</i> is not necessary, <i>perl</i> would be enough, but having full path would make it easier to use your script under *nix.)</p> <h2 id="Shortcomings-of-Perl-under-AmigaOS"><a class="permalink" href="#Shortcomings-of-Perl-under-AmigaOS">#</a><a id="Shortcomings"></a>Shortcomings of Perl under AmigaOS</h2> <p>Perl under AmigaOS lacks some features of perl under UNIX because of deficiencies in the UNIX-emulation, most notably:</p> <ul> <li><p>fork()</p> </li> <li><p>some features of the UNIX filesystem regarding link count and file dates</p> </li> <li><p>inplace operation (the -i switch) without backup file</p> </li> <li><p>umask() works, but the correct permissions are only set when the file is finally close()d</p> </li> </ul> <h1 id="INSTALLATION"><a class="permalink" href="#INSTALLATION">#</a>INSTALLATION</h1> <p>Change to the installation directory (most probably ADE:), and extract the binary distribution:</p> <p>lha -mraxe x perl-$VERSION-bin.lha</p> <p>or</p> <p>tar xvzpf perl-$VERSION-bin.tgz</p> <p>(Of course you need lha or tar and gunzip for this.)</p> <p>For installation of the Unix emulation, read the appropriate docs.</p> <h1 id="Accessing-documentation"><a class="permalink" href="#Accessing-documentation">#</a><a id="Accessing"></a>Accessing documentation</h1> <h2 id="Manpages-for-Perl-on-AmigaOS"><a class="permalink" href="#Manpages-for-Perl-on-AmigaOS">#</a><a id="Manpages"></a>Manpages for Perl on AmigaOS</h2> <p>If you have <code>man</code> installed on your system, and you installed perl manpages, use something like this:</p> <pre><code class="plaintext">man perlfunc man less man ExtUtils.MakeMaker</code></pre> <p>to access documentation for different components of Perl. Start with</p> <pre><code class="plaintext">man perl</code></pre> <p>Note: You have to modify your man.conf file to search for manpages in the /ade/lib/perl5/man/man3 directory, or the man pages for the perl library will not be found.</p> <p>Note that dot (<i>.</i>) is used as a package separator for documentation for packages, and as usual, sometimes you need to give the section - <code>3</code> above - to avoid shadowing by the <i>less(1) manpage</i>.</p> <h2 id="Perl-HTML-Documentation-on-AmigaOS"><a class="permalink" href="#Perl-HTML-Documentation-on-AmigaOS">#</a><a id="Perl"></a>Perl HTML Documentation on AmigaOS</h2> <p>If you have some WWW browser available, you can build <b>HTML</b> docs. Cd to directory with <i>.pod</i> files, and do like this</p> <pre><code class="plaintext">cd /ade/lib/perl5/pod pod2html</code></pre> <p>After this you can direct your browser the file <i>perl.html</i> in this directory, and go ahead with reading docs.</p> <p>Alternatively you may be able to get these docs prebuilt from <code>CPAN</code>.</p> <h2 id="Perl-GNU-Info-Files-on-AmigaOS"><a class="permalink" href="#Perl-GNU-Info-Files-on-AmigaOS">#</a><a id="Perl1"></a>Perl GNU Info Files on AmigaOS</h2> <p>Users of <code>Emacs</code> would appreciate it very much, especially with <code>CPerl</code> mode loaded. You need to get latest <code>pod2info</code> from <code>CPAN</code>, or, alternately, prebuilt info pages.</p> <h2 id="Perl-LaTeX-Documentation-on-AmigaOS"><a class="permalink" href="#Perl-LaTeX-Documentation-on-AmigaOS">#</a><a id="Perl2"></a>Perl LaTeX Documentation on AmigaOS</h2> <p>Can be constructed using <code>pod2latex</code>.</p> <h1 id="BUILDING-PERL-ON-AMIGAOS"><a class="permalink" href="#BUILDING-PERL-ON-AMIGAOS">#</a><a id="BUILDING"></a>BUILDING PERL ON AMIGAOS</h1> <p>Here we discuss how to build Perl under AmigaOS.</p> <h2 id="Build-Prerequisites-for-Perl-on-AmigaOS"><a class="permalink" href="#Build-Prerequisites-for-Perl-on-AmigaOS">#</a><a id="Build"></a>Build Prerequisites for Perl on AmigaOS</h2> <p>You need to have the latest <b>ixemul</b> (Unix emulation for Amiga) from Aminet.</p> <h2 id="Getting-the-Perl-Source-for-AmigaOS"><a class="permalink" href="#Getting-the-Perl-Source-for-AmigaOS">#</a><a id="Getting"></a>Getting the Perl Source for AmigaOS</h2> <p>You can either get the latest perl-for-amiga source from Ninemoons and extract it with:</p> <pre><code>tar xvzpf perl-$VERSION-src.tgz</code></pre> <p>or get the official source from CPAN:</p> <pre><code class="plaintext">http://www.cpan.org/src/5.0</code></pre> <p>Extract it like this</p> <pre><code>tar xvzpf perl-$VERSION.tar.gz</code></pre> <p>You will see a message about errors while extracting <i>Configure</i>. This is normal and expected. (There is a conflict with a similarly-named file <i>configure</i>, but it causes no harm.)</p> <h2 id="Making-Perl-on-AmigaOS"><a class="permalink" href="#Making-Perl-on-AmigaOS">#</a><a id="Making"></a>Making Perl on AmigaOS</h2> <p>Remember to use a hefty wad of stack (I use 2000000)</p> <pre><code class="plaintext">sh configure.gnu --prefix=/gg</code></pre> <p>Now type</p> <pre><code class="plaintext">make depend</code></pre> <p>Now!</p> <pre><code class="plaintext">make</code></pre> <h2 id="Testing-Perl-on-AmigaOS"><a class="permalink" href="#Testing-Perl-on-AmigaOS">#</a><a id="Testing"></a>Testing Perl on AmigaOS</h2> <p>Now run</p> <pre><code class="plaintext">make test</code></pre> <p>Some tests will be skipped because they need the fork() function:</p> <p><i>io/pipe.t</i>, <i>op/fork.t</i>, <i>lib/filehand.t</i>, <i>lib/open2.t</i>, <i>lib/open3.t</i>, <i>lib/io_pipe.t</i>, <i>lib/io_sock.t</i></p> <h2 id="Installing-the-built-Perl-on-AmigaOS"><a class="permalink" href="#Installing-the-built-Perl-on-AmigaOS">#</a><a id="Installing"></a>Installing the built Perl on AmigaOS</h2> <p>Run</p> <pre><code class="plaintext">make install</code></pre> <h1 id="PERL-5.8.0-BROKEN-IN-AMIGAOS"><a class="permalink" href="#PERL-5.8.0-BROKEN-IN-AMIGAOS">#</a><a id="PERL"></a>PERL 5.8.0 BROKEN IN AMIGAOS</h1> <p>As told above, Perl 5.6.1 was still good in AmigaOS, as was 5.7.2. After Perl 5.7.2 (change #11423, see the Changes file, and the file pod/perlhack.pod for how to get the individual changes) Perl dropped its internal support for vfork(), and that was very probably the step that broke AmigaOS (since the ixemul library has only vfork). The build finally fails when the ext/DynaLoader is being built, and PERL ends up as &quot;0&quot; in the produced Makefile, trying to run &quot;0&quot; does not quite work. Also, executing miniperl in backticks seems to generate nothing: very probably related to the (v)fork problems. <b>Fixing the breakage requires someone quite familiar with the ixemul library, and how one is supposed to run external commands in AmigaOS without fork().</b></p> <h1 id="AUTHORS"><a class="permalink" href="#AUTHORS">#</a>AUTHORS</h1> <p>Norbert Pueschel, pueschel@imsdd.meb.uni-bonn.de Jan-Erik Karlsson, trg@privat.utfors.se</p> <h1 id="SEE-ALSO"><a class="permalink" href="#SEE-ALSO">#</a><a id="SEE"></a>SEE ALSO</h1> <p>perl(1).</p> </div> <div id="footer"> <p>Perldoc Browser is maintained by Dan Book (<a href="https://metacpan.org/author/DBOOK">DBOOK</a>). Please contact him via the <a href="https://github.com/Grinnz/perldoc-browser/issues">GitHub issue tracker</a> or <a href="mailto:dbook@cpan.org">email</a> regarding any issues with the site itself, search, or rendering of documentation.</p> <p>The Perl documentation is maintained by the Perl 5 Porters in the development of Perl. Please contact them via the <a href="https://github.com/Perl/perl5/issues">Perl issue tracker</a>, the <a href="https://lists.perl.org/list/perl5-porters.html">mailing list</a>, or <a href="https://kiwiirc.com/client/irc.perl.org/p5p">IRC</a> to report any issues with the contents or format of the documentation.</p> </div> </div> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.slim.min.js" integrity="sha512-/DXTXr6nQodMUiq+IUJYCt2PPOUjrHJ9wFrqpJ3XkgPNOZVfMok7cRw6CSxyCQxXn6ozlESsSh1/sMCTF1rL/g==" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.1/umd/popper.min.js" integrity="sha512-ubuT8Z88WxezgSqf3RLuNi5lmjstiJcyezx34yIU2gAHonIi27Na7atqzUZCOoY4CExaoFumzOsFQ2Ch+I/HCw==" crossorigin="anonymous"></script> <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js" integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV" crossorigin="anonymous"></script> <script src="/js/highlight.pack.js"></script> <script>hljs.highlightAll();</script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10