If you read this file _as_is_, just ignore the funny characters you see. It is written in the POD format (see pod/perlpod.pod) which is specially designed to be readable as is. =head1 NAME perlplan9 - Plan 9-specific documentation for Perl =head1 DESCRIPTION These are a few notes describing features peculiar to Plan 9 Perl. As such, it is not intended to be a replacement for the rest of the Perl 5 documentation (which is both copious and excellent). If you have any questions to which you can't find answers in these man pages, contact Luther Huffman at lutherh@stratcom.com and we'll try to answer them. =head2 Invoking Perl Perl is invoked from the command line as described in L<perl>. Most perl scripts, however, do have a first line such as "#!/usr/local/bin/perl". This is known as a shebang (shell-bang) statement and tells the OS shell where to find the perl interpreter. In Plan 9 Perl this statement should be "#!/bin/perl" if you wish to be able to directly invoke the script by its name. Alternatively, you may invoke perl with the command "Perl" instead of "perl". This will produce Acme-friendly error messages of the form "filename:18". Some scripts, usually identified with a *.PL extension, are self-configuring and are able to correctly create their own shebang path from config information located in Plan 9 Perl. These you won't need to be worried about. =head2 What's in Plan 9 Perl Although Plan 9 Perl currently only provides static loading, it is built with a number of useful extensions. These include Opcode, FileHandle, Fcntl, and POSIX. Expect to see others (and DynaLoading!) in the future. =head2 What's not in Plan 9 Perl As mentioned previously, dynamic loading isn't currently available nor is MakeMaker. Both are high-priority items. =head2 Perl5 Functions not currently supported in Plan 9 Perl Some, such as C<chown> and C<umask> aren't provided because the concept does not exist within Plan 9. Others, such as some of the socket-related functions, simply haven't been written yet. Many in the latter category may be supported in the future. The functions not currently implemented include: chown, chroot, dbmclose, dbmopen, getsockopt, setsockopt, recvmsg, sendmsg, getnetbyname, getnetbyaddr, getnetent, getprotoent, getservent, sethostent, setnetent, setprotoent, setservent, endservent, endnetent, endprotoent, umask There may be several other functions that have undefined behavior so this list shouldn't be considered complete. =head2 Signals in Plan 9 Perl For compatibility with perl scripts written for the Unix environment, Plan 9 Perl uses the POSIX signal emulation provided in Plan 9's ANSI POSIX Environment (APE). Signal stacking isn't supported. The signals provided are: SIGHUP, SIGINT, SIGQUIT, SIGILL, SIGABRT, SIGFPE, SIGKILL, SIGSEGV, SIGPIPE, SIGPIPE, SIGALRM, SIGTERM, SIGUSR1, SIGUSR2, SIGCHLD, SIGCONT, SIGSTOP, SIGTSTP, SIGTTIN, SIGTTOU =head1 COMPILING AND INSTALLING PERL ON PLAN 9 WELCOME to Plan 9 Perl, brave soul! This is a preliminary alpha version of Plan 9 Perl. Still to be implemented are MakeMaker and DynaLoader. Many perl commands are missing or currently behave in an inscrutable manner. These gaps will, with perseverance and a modicum of luck, be remedied in the near future.To install this software: 1. Create the source directories and libraries for perl by running the plan9/setup.rc command (i.e., located in the plan9 subdirectory). Note: the setup routine assumes that you haven't dearchived these files into /sys/src/cmd/perl. After running setup.rc you may delete the copy of the source you originally detarred, as source code has now been installed in /sys/src/cmd/perl. If you plan on installing perl binaries for all architectures, run "setup.rc -a". 2. After making sure that you have adequate privileges to build system software, from /sys/src/cmd/perl/5.00301 (adjust version appropriately) run: mk install If you wish to install perl versions for all architectures (68020, mips, sparc and 386) run: mk installall 3. Wait. The build process will take a *long* time because perl bootstraps itself. A 75MHz Pentium, 16MB RAM machine takes roughly 30 minutes to build the distribution from scratch. =head2 Installing Perl Documentation on Plan 9 This perl distribution comes with a tremendous amount of documentation. To add these to the built-in manuals that come with Plan 9, from /sys/src/cmd/perl/5.00301 (adjust version appropriately) run: mk man To begin your reading, start with: man perl This is a good introduction and will direct you towards other man pages that may interest you. (Note: "mk man" may produce some extraneous noise. Fear not.) =head1 BUGS "As many as there are grains of sand on all the beaches of the world . . ." - Carl Sagan =head1 Revision date This document was revised 09-October-1996 for Perl 5.003_7. =head1 AUTHOR Direct questions, comments, and the unlikely bug report (ahem) direct comments toward: Luther Huffman, lutherh@stratcom.com, Strategic Computer Solutions, Inc.
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
a2p.pod | File | 5.96 KB | 0644 |
|
perl.pod | File | 15.43 KB | 0644 |
|
perl5004delta.pod | File | 54.92 KB | 0644 |
|
perl5005delta.pod | File | 33.48 KB | 0644 |
|
perl5100delta.pod | File | 53.41 KB | 0644 |
|
perl5101delta.pod | File | 42.86 KB | 0644 |
|
perl5120delta.pod | File | 87.19 KB | 0644 |
|
perl5121delta.pod | File | 9.91 KB | 0644 |
|
perl5122delta.pod | File | 9.38 KB | 0644 |
|
perl5123delta.pod | File | 4 KB | 0644 |
|
perl5124delta.pod | File | 3.59 KB | 0644 |
|
perl5140delta.pod | File | 140.94 KB | 0644 |
|
perl5141delta.pod | File | 7.78 KB | 0644 |
|
perl5142delta.pod | File | 6.73 KB | 0644 |
|
perl5143delta.pod | File | 7.58 KB | 0644 |
|
perl5160delta.pod | File | 130.52 KB | 0644 |
|
perl5161delta.pod | File | 6 KB | 0644 |
|
perl5162delta.pod | File | 3.51 KB | 0644 |
|
perl5163delta.pod | File | 3.99 KB | 0644 |
|
perl561delta.pod | File | 121.79 KB | 0644 |
|
perl56delta.pod | File | 104.68 KB | 0644 |
|
perl581delta.pod | File | 37.17 KB | 0644 |
|
perl582delta.pod | File | 4.37 KB | 0644 |
|
perl583delta.pod | File | 6.19 KB | 0644 |
|
perl584delta.pod | File | 7.19 KB | 0644 |
|
perl585delta.pod | File | 5.75 KB | 0644 |
|
perl586delta.pod | File | 4.54 KB | 0644 |
|
perl587delta.pod | File | 8.16 KB | 0644 |
|
perl588delta.pod | File | 24.68 KB | 0644 |
|
perl589delta.pod | File | 52.64 KB | 0644 |
|
perl58delta.pod | File | 112.21 KB | 0644 |
|
perlaix.pod | File | 18.77 KB | 0644 |
|
perlamiga.pod | File | 6.87 KB | 0644 |
|
perlapi.pod | File | 315.46 KB | 0644 |
|
perlapio.pod | File | 18.88 KB | 0644 |
|
perlartistic.pod | File | 6.85 KB | 0644 |
|
perlbeos.pod | File | 2.87 KB | 0644 |
|
perlbook.pod | File | 7.19 KB | 0644 |
|
perlboot.pod | File | 183 B | 0644 |
|
perlbot.pod | File | 182 B | 0644 |
|
perlbs2000.pod | File | 7.73 KB | 0644 |
|
perlcall.pod | File | 54.03 KB | 0644 |
|
perlce.pod | File | 8.72 KB | 0644 |
|
perlcheat.pod | File | 4.39 KB | 0644 |
|
perlclib.pod | File | 7.5 KB | 0644 |
|
perlcn.pod | File | 4.82 KB | 0644 |
|
perlcommunity.pod | File | 6.29 KB | 0644 |
|
perlcygwin.pod | File | 27.17 KB | 0644 |
|
perldata.pod | File | 36.33 KB | 0644 |
|
perldbmfilter.pod | File | 4.86 KB | 0644 |
|
perldebguts.pod | File | 36.79 KB | 0644 |
|
perldebtut.pod | File | 20.79 KB | 0644 |
|
perldebug.pod | File | 38.15 KB | 0644 |
|
perldelta.pod | File | 3.99 KB | 0644 |
|
perldgux.pod | File | 2.75 KB | 0644 |
|
perldiag.pod | File | 207.82 KB | 0644 |
|
perldos.pod | File | 10.28 KB | 0644 |
|
perldsc.pod | File | 24.84 KB | 0644 |
|
perldtrace.pod | File | 6.21 KB | 0644 |
|
perlebcdic.pod | File | 67.61 KB | 0644 |
|
perlembed.pod | File | 35.21 KB | 0644 |
|
perlepoc.pod | File | 3.57 KB | 0644 |
|
perlexperiment.pod | File | 4.84 KB | 0644 |
|
perlfaq.pod | File | 22.01 KB | 0644 |
|
perlfaq1.pod | File | 13.52 KB | 0644 |
|
perlfaq2.pod | File | 9.28 KB | 0644 |
|
perlfaq3.pod | File | 37.46 KB | 0644 |
|
perlfaq4.pod | File | 87.39 KB | 0644 |
|
perlfaq5.pod | File | 54.11 KB | 0644 |
|
perlfaq6.pod | File | 38.66 KB | 0644 |
|
perlfaq7.pod | File | 36.35 KB | 0644 |
|
perlfaq8.pod | File | 48.28 KB | 0644 |
|
perlfaq9.pod | File | 14.71 KB | 0644 |
|
perlfork.pod | File | 12.78 KB | 0644 |
|
perlform.pod | File | 16.29 KB | 0644 |
|
perlfreebsd.pod | File | 1.55 KB | 0644 |
|
perlfunc.pod | File | 338.43 KB | 0644 |
|
perlgit.pod | File | 29.75 KB | 0644 |
|
perlglossary.pod | File | 110.66 KB | 0644 |
|
perlgpl.pod | File | 13.54 KB | 0644 |
|
perlguts.pod | File | 111.66 KB | 0644 |
|
perlhack.pod | File | 35.03 KB | 0644 |
|
perlhacktips.pod | File | 45.5 KB | 0644 |
|
perlhacktut.pod | File | 6.07 KB | 0644 |
|
perlhaiku.pod | File | 1.47 KB | 0644 |
|
perlhist.pod | File | 43.32 KB | 0644 |
|
perlhpux.pod | File | 28.07 KB | 0644 |
|
perlhurd.pod | File | 1.94 KB | 0644 |
|
perlintern.pod | File | 42.53 KB | 0644 |
|
perlinterp.pod | File | 30 KB | 0644 |
|
perlintro.pod | File | 22.08 KB | 0644 |
|
perliol.pod | File | 33.03 KB | 0644 |
|
perlipc.pod | File | 70.17 KB | 0644 |
|
perlirix.pod | File | 4.29 KB | 0644 |
|
perljp.pod | File | 7.57 KB | 0644 |
|
perlko.pod | File | 7.52 KB | 0644 |
|
perllexwarn.pod | File | 14.61 KB | 0644 |
|
perllinux.pod | File | 1.45 KB | 0644 |
|
perllocale.pod | File | 51.43 KB | 0644 |
|
perllol.pod | File | 10.93 KB | 0644 |
|
perlmacos.pod | File | 1001 B | 0644 |
|
perlmacosx.pod | File | 10.4 KB | 0644 |
|
perlmod.pod | File | 24.04 KB | 0644 |
|
perlmodinstall.pod | File | 12.41 KB | 0644 |
|
perlmodlib.pod | File | 78.49 KB | 0644 |
|
perlmodstyle.pod | File | 20.76 KB | 0644 |
|
perlmpeix.pod | File | 14.24 KB | 0644 |
|
perlmroapi.pod | File | 3.13 KB | 0644 |
|
perlnetware.pod | File | 6.35 KB | 0644 |
|
perlnewmod.pod | File | 10.95 KB | 0644 |
|
perlnumber.pod | File | 8.16 KB | 0644 |
|
perlobj.pod | File | 33.65 KB | 0644 |
|
perlootut.pod | File | 25.6 KB | 0644 |
|
perlop.pod | File | 121.73 KB | 0644 |
|
perlopenbsd.pod | File | 1.18 KB | 0644 |
|
perlopentut.pod | File | 37.53 KB | 0644 |
|
perlos2.pod | File | 90.53 KB | 0644 |
|
perlos390.pod | File | 15.2 KB | 0644 |
|
perlos400.pod | File | 4.51 KB | 0644 |
|
perlpacktut.pod | File | 49.83 KB | 0644 |
|
perlperf.pod | File | 50.05 KB | 0644 |
|
perlplan9.pod | File | 5 KB | 0644 |
|
perlpod.pod | File | 21.27 KB | 0644 |
|
perlpodspec.pod | File | 66.2 KB | 0644 |
|
perlpolicy.pod | File | 19.73 KB | 0644 |
|
perlport.pod | File | 82.63 KB | 0644 |
|
perlpragma.pod | File | 5.11 KB | 0644 |
|
perlqnx.pod | File | 4.14 KB | 0644 |
|
perlre.pod | File | 100.76 KB | 0644 |
|
perlreapi.pod | File | 25.17 KB | 0644 |
|
perlrebackslash.pod | File | 25.64 KB | 0644 |
|
perlrecharclass.pod | File | 34.19 KB | 0644 |
|
perlref.pod | File | 28.32 KB | 0644 |
|
perlreftut.pod | File | 18.23 KB | 0644 |
|
perlreguts.pod | File | 36 KB | 0644 |
|
perlrequick.pod | File | 17.5 KB | 0644 |
|
perlreref.pod | File | 14.19 KB | 0644 |
|
perlretut.pod | File | 115.13 KB | 0644 |
|
perlriscos.pod | File | 1.49 KB | 0644 |
|
perlrun.pod | File | 49.58 KB | 0644 |
|
perlsec.pod | File | 22.77 KB | 0644 |
|
perlsolaris.pod | File | 28.63 KB | 0644 |
|
perlsource.pod | File | 6.19 KB | 0644 |
|
perlstyle.pod | File | 8.42 KB | 0644 |
|
perlsub.pod | File | 55.15 KB | 0644 |
|
perlsymbian.pod | File | 15.44 KB | 0644 |
|
perlsyn.pod | File | 41.04 KB | 0644 |
|
perlthrtut.pod | File | 45.41 KB | 0644 |
|
perltie.pod | File | 37.02 KB | 0644 |
|
perltoc.pod | File | 639 KB | 0644 |
|
perltodo.pod | File | 362 B | 0644 |
|
perltooc.pod | File | 183 B | 0644 |
|
perltoot.pod | File | 183 B | 0644 |
|
perltrap.pod | File | 40.28 KB | 0644 |
|
perltru64.pod | File | 7.55 KB | 0644 |
|
perltw.pod | File | 5.15 KB | 0644 |
|
perlunicode.pod | File | 70.89 KB | 0644 |
|
perlunifaq.pod | File | 13.31 KB | 0644 |
|
perluniintro.pod | File | 35.44 KB | 0644 |
|
perluniprops.pod | File | 229.74 KB | 0644 |
|
perlunitut.pod | File | 7.76 KB | 0644 |
|
perlutil.pod | File | 9.68 KB | 0644 |
|
perluts.pod | File | 3.11 KB | 0644 |
|
perlvar.pod | File | 69.19 KB | 0644 |
|
perlvmesa.pod | File | 3.88 KB | 0644 |
|
perlvms.pod | File | 51.33 KB | 0644 |
|
perlvos.pod | File | 5.82 KB | 0644 |
|
perlwin32.pod | File | 34.58 KB | 0644 |
|
perlxs.pod | File | 71.66 KB | 0644 |
|
perlxstut.pod | File | 48.52 KB | 0644 |
|
perlxstypemap.pod | File | 22.97 KB | 0644 |
|