perlepoc.html

来自「perl教程」· HTML 代码 · 共 187 行

HTML
187 行
字号
<?xml version="1.0" ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<!-- saved from url=(0017)http://localhost/ -->
<script language="JavaScript" src="../../displayToc.js"></script>
<script language="JavaScript" src="../../tocParas.js"></script>
<script language="JavaScript" src="../../tocTab.js"></script>
<link rel="stylesheet" type="text/css" href="../../scineplex.css">
<title>README.epoc - Perl for EPOC</title>
<link rel="stylesheet" href="../../Active.css" type="text/css" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:" />
</head>

<body>

<script>writelinks('__top__',2);</script>
<h1><a>README.epoc - Perl for EPOC</a></h1>
<p><a name="__index__"></a></p>

<!-- INDEX BEGIN -->

<ul>

	<li><a href="#name">NAME</a></li>
	<li><a href="#synopsis">SYNOPSIS</a></li>
	<li><a href="#introduction">INTRODUCTION</a></li>
	<li><a href="#installing_perl_on_epoc">INSTALLING PERL ON EPOC</a></li>
	<li><a href="#starting_perl_on_epoc">STARTING PERL ON EPOC</a></li>
	<ul>

		<li><a href="#editors_on_epoc">Editors on Epoc</a></li>
		<li><a href="#features_of_perl_on_epoc">Features of Perl on Epoc</a></li>
		<li><a href="#restrictions_of_perl_on_epoc">Restrictions of Perl on Epoc</a></li>
		<li><a href="#compiling_perl_5_on_the_epoc_cross_compiling_environment">Compiling Perl 5 on the EPOC cross compiling environment</a></li>
	</ul>

	<li><a href="#support_status_of_perl_on_epoc">SUPPORT STATUS OF PERL ON EPOC</a></li>
	<li><a href="#author">AUTHOR</a></li>
	<li><a href="#last_update">LAST UPDATE</a></li>
</ul>
<!-- INDEX END -->

<hr />
<p>
</p>
<h1><a name="name">NAME</a></h1>
<p>README.epoc - Perl for EPOC</p>
<p>
</p>
<hr />
<h1><a name="synopsis">SYNOPSIS</a></h1>
<p>Perl 5 README file for the EPOC Release 5 operating system.</p>
<p>
</p>
<hr />
<h1><a name="introduction">INTRODUCTION</a></h1>
<p>EPOC is an OS for palmtops and mobile phones. For more informations look at:
<a href="http://www.symbian.com/">http://www.symbian.com/</a></p>
<p>This is a port of perl to the epocemx SDK by Eberhard Mattes, which
itself uses the SDK by symbian. Essentially epocemx it is a POSIX
look alike environment for the EPOC OS.  For more information look at: 
<a href="http://epocemx.sourceforge.net/">http://epocemx.sourceforge.net/</a></p>
<p>perl and epocemx runs on Epoc Release 5 machines: Psion 5mx, 5mx Pro,
Psion Revo, Psion Netbook and on the Ericsson M128. It may run on Epoc
Release 3 Hardware (Series 5 classic), too. For more information about
this hardware please refer to <a href="http://www.psion.com/">http://www.psion.com/</a></p>
<p>Vendors which like to have support for their devices are free to send
me a sample.</p>
<p>
</p>
<hr />
<h1><a name="installing_perl_on_epoc">INSTALLING PERL ON EPOC</a></h1>
<p>You can download a ready-to-install version from
<a href="http://www.oflebbe.de/oflebbe/perl/">http://www.oflebbe.de/oflebbe/perl/</a></p>
<p>You will need at least ~6MB free space in order to install and run perl.</p>
<p>Please install the emxusr.sis package from
<a href="http://epocemx.sourceforge.net/">http://epocemx.sourceforge.net/</a> first.</p>
<p>Install perl.sis on the EPOC machine. If you do not know how to do
that, consult your PsiWin documentation.</p>
<p>Perl itself and its standard library is using 4 MB disk space.
Unicode support and some other modules are left out. (For details,
please look into epoc/createpkg.pl). If you like to use these modules,
you are free to copy them from a current perl release.</p>
<p>
</p>
<hr />
<h1><a name="starting_perl_on_epoc">STARTING PERL ON EPOC</a></h1>
<p>Please use the epocemx shell to start perl. perl integrates with the
conventions of epocemx.</p>
<p>
</p>
<h2><a name="editors_on_epoc">Editors on Epoc</a></h2>
<p>A suitable text editor can be downloaded from symbian
<a href="http://www.symbian.com/developer/downloads/files/editor.zip">http://www.symbian.com/developer/downloads/files/editor.zip</a></p>
<p>
</p>
<h2><a name="features_of_perl_on_epoc">Features of Perl on Epoc</a></h2>
<p>The built-in function EPOC::getcwd returns the current directory.</p>
<p>
</p>
<h2><a name="restrictions_of_perl_on_epoc">Restrictions of Perl on Epoc</a></h2>
<p>Features are left out, because of restrictions of the POSIX support in
EPOC:</p>
<ul>
<li>
<p>socket IO is only implemented poorly. You can only use sysread and
syswrite on them. The commands read, write, print, &lt;&gt; do not work for
sockets. This may change iff epocemx supports sockets.</p>
</li>
<li>
<p>kill, alarm and signals. Do not try to use them. This may be
impossible to implement on EPOC.</p>
</li>
<li>
<p>select is missing.</p>
</li>
<li>
<p>binmode does not exist. (No CR LF to LF translation for text files)</p>
</li>
<li>
<p>EPOC does not handle the notion of current drive and current
directory very well (i.e. not at all, but it tries hard to emulate
one). See PATH.</p>
</li>
<li>
<p>Heap is limited to 4MB.</p>
</li>
<li>
<p>Dynamic loading is not implemented.</p>
</li>
</ul>
<p>
</p>
<h2><a name="compiling_perl_5_on_the_epoc_cross_compiling_environment">Compiling Perl 5 on the EPOC cross compiling environment</a></h2>
<p>Sorry, this is far too short.</p>
<ul>
<li>
<p>You will need the epocemx SDK from Eberhard Mattes.</p>
</li>
<li>
<p>Get the Perl sources from your nearest CPAN site.</p>
</li>
<li>
<p>Unpack the sources.</p>
</li>
<li>
<p>Build a native perl from this sources... Make sure to save the
miniperl executable as miniperl.native.</p>
<p>Start again from scratch</p>
<pre>
      cp epoc/* .
      ./Configure -S
      make 
      cp miniperl.native miniperl
      touch miniperl.exe
      make
      perl createpkg.pl</pre>
<pre>
      emxsis perl.pkg perl.sis</pre>
</li>
</ul>
<p>
</p>
<hr />
<h1><a name="support_status_of_perl_on_epoc">SUPPORT STATUS OF PERL ON EPOC</a></h1>
<p>I'm offering this port &quot;as is&quot;. You can ask me questions, but I can't
guarantee I'll be able to answer them. Since the port to epocemx is
quite new, please check the web for updates first.</p>
<p>Very special thanks to Eberhard Mattes for epocemx.</p>
<p>
</p>
<hr />
<h1><a name="author">AUTHOR</a></h1>
<p>Olaf Flebbe &lt;<a href="mailto:olaf@oflebbe.de">olaf@oflebbe.de</a>&gt;
<a href="http://www.oflebbe.de/oflebbe/perl/">http://www.oflebbe.de/oflebbe/perl/</a></p>
<p>
</p>
<hr />
<h1><a name="last_update">LAST UPDATE</a></h1>
<p>2003-01-18</p>

</body>

</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?