Man page - perlplan9(1)
Packages contas this manual
- perlhpux(1)
- perlgov(1)
- perlunicook(1)
- perlclib(1)
- perl5223delta(1)
- perlmodlib(1)
- perlrun(1)
- perllocale(1)
- perl5144delta(1)
- perlunifaq(1)
- perlclassguts(1)
- perlclass(1)
- perl5180delta(1)
- perlmod(1)
- perltodo(1)
- perl5263delta(1)
- perl5301delta(1)
- perlpragma(1)
- perl5125delta(1)
- perl5283delta(1)
- perlutil(1)
- perlcn(1)
- perl5142delta(1)
- perlpodspec(1)
- perl5202delta(1)
- perl561delta(1)
- perlsec(1)
- perl5244delta(1)
- perldiag(1)
- perlbot(1)
- perlfunc(1)
- perl5143delta(1)
- perl5342delta(1)
- perl5302delta(1)
- perl5343delta(1)
- perlhack(1)
- perl5122delta(1)
- perltrap(1)
- perldelta(1)
- perl5282delta(1)
- perlsyn(1)
- perl5124delta(1)
- perlpacktut(1)
- perl5101delta(1)
- perldtrace(1)
- perl5260delta(1)
- perlintern(1)
- perlreftut(1)
- perlfreebsd(1)
- perl5261delta(1)
- perl5280delta(1)
- perlpod(1)
- perl5203delta(1)
- perldeprecation(1)
- perl586delta(1)
- perl5240delta(1)
- perlreguts(1)
- perlre(1)
- perlriscos(1)
- perl5182delta(1)
- perlaix(1)
- perl5281delta(1)
- perlexperiment(1)
- perl58delta(1)
- perl5361delta(1)
- perl584delta(1)
- perlsolaris(1)
- perl5363delta(1)
- perl5241delta(1)
- perlperf(1)
- perlcygwin(1)
- perl5300delta(1)
- perl5401delta(1)
- perlvms(1)
- perlsecpolicy(1)
- perlxstypemap(1)
- perldocstyle(1)
- perlop(1)
- perl5362delta(1)
- perl5140delta(1)
- perlembed(1)
- perlbs2000(1)
- perlos400(1)
- perlrebackslash(1)
- perl5200delta(1)
- perlopentut(1)
- perlos2(1)
- perlstyle(1)
- perl56delta(1)
- perlfaq7(1)
- perldbmfilter(1)
- perlmodstyle(1)
- perl5222delta(1)
- perl5303delta(1)
- perl5181delta(1)
- perlcall(1)
- perl5381delta(1)
- perl5162delta(1)
- perlvar(1)
- perlxs(1)
- perlhaiku(1)
- perlsynology(1)
- perlnumber(1)
- perl5321delta(1)
- perl5243delta(1)
- perlamiga(1)
- perlref(1)
- perl5360delta(1)
- perl5161delta(1)
- perlunicode(1)
- perlapio(1)
- perltooc(1)
- perl588delta(1)
- perl5100delta(1)
- perldsc(1)
- perlgit(1)
- perlobj(1)
- perlmodinstall(1)
- perlopenbsd(1)
- perlbook(1)
- perl585delta(1)
- perlboot(1)
- perlfaq1(1)
- perlapi(1)
- perl5004delta(1)
- perl5121delta(1)
- perlretut(1)
- perlfaq3(1)
- perllexwarn(1)
- perl5224delta(1)
- perlipc(1)
- perliol(1)
- perl5221delta(1)
- perlglossary(1)
- perltoot(1)
- perl5382delta(1)
- perl5160delta(1)
- perlfaq9(1)
- perlxstut(1)
- perlpolicy(1)
- perlintro(1)
- perlandroid(1)
- perl5184delta(1)
- perl587delta(1)
- perlreref(1)
- perlreapi(1)
- perlhacktut(1)
- perluniintro(1)
- perlrecharclass(1)
- perlfaq6(1)
- perltw(1)
- perllol(1)
- perlfaq4(1)
- perldebtut(1)
- perlebcdic(1)
- perlko(1)
- perlqnx(1)
- perlhacktips(1)
- perlthrtut(1)
- perlvos(1)
- perl5340delta(1)
- perl5242delta(1)
- perlsub(1)
- perlform(1)
- perlnewmod(1)
- perl5141delta(1)
- perllinux(1)
- perldebguts(1)
- perl5120delta(1)
- perltoc(1)
- perlrequick(1)
- perlirix(1)
- perlfilter(1)
- perlport(1)
- perlfaq5(1)
- perlootut(1)
- perltie(1)
- perlfaq8(1)
- perl581delta(1)
- perldata(1)
- perl5163delta(1)
- perlartistic(1)
- perluniprops(1)
- perltru64(1)
- perl5201delta(1)
- perlinterp(1)
- perlpodstyle(1)
- perl5380delta(1)
- perl583delta(1)
- perlplan9(1)
- perlfaq2(1)
- perljp(1)
- perl5320delta(1)
- perlhist(1)
- perlunitut(1)
- perlos390(1)
- perldoc(1)
- perlmacosx(1)
- perlsource(1)
- perl5400delta(1)
- perlfork(1)
- perlhurd(1)
- perl5262delta(1)
- perl5220delta(1)
- perlmroapi(1)
- perlcheat(1)
- perlcommunity(1)
- perlfaq(1)
- perl5341delta(1)
- perlrepository(1)
- perl5123delta(1)
- perldebug(1)
- perlguts(1)
- perlwin32(1)
- perlgpl(1)
- perl582delta(1)
- perl589delta(1)
- perl5005delta(1)
apt-get install perl-doc
Manual
| PERLPLAN9(1) | Perl Programmers Reference Guide | PERLPLAN9(1) |
NAME
perlplan9 - Plan 9-specific documentation for Perl
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.
Invoking Perl
Perl is invoked from the command line as described in 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.
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.
What's not in Plan 9 Perl
As mentioned previously, dynamic loading isn't currently available nor is MakeMaker. Both are high-priority items.
Perl5 Functions not currently supported in Plan 9 Perl
Some, such as "chown" and "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.
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
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.
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.)
BUGS
"As many as there are grains of sand on all the beaches of the world . . ." - Carl Sagan
Revision date
This document was revised 09-October-1996 for Perl 5.003_7.
AUTHOR
Direct questions, comments, and the unlikely bug report (ahem) direct comments toward:
Luther Huffman, lutherh@stratcom.com, Strategic Computer Solutions, Inc.
| 2025-07-27 | perl v5.40.1 |