|
perldsc(1) -- Perl Data Structures Cookbook
|
The most important thing to understand about all data structures in Perl -- including multidimensional arrays--is that even though they might appear otherwise, Perl @ARRAYs and %HASHes are all internally onedimensional. They can hold only scalar values (meaning a string, number, or a reference). They cannot directly contain other arrays or hashes, but instead contain references to other arrays or hashes. You can't use a reference to a array or hash in quite the same way that you would a real ar... |
perlembed(1) -- how to embed perl in your C program
|
At the time of this writing, there are two versions of Perl which run under Win32. Interfacing to Activeware's Perl library is quite different from the examples in this documentation, as significant changes were made to the internal Perl API. However, it is possible to embed Activeware's Perl runtime, see the Perl for Win32 FAQ: http://www.perl.com/perl/faq/win32/Perl_for_Win32_FAQ.html With the "official" Perl version 5.004 or higher, all the examples within this documentation will compile ... |
|
perlfaq(1) -- frequently asked questions about Perl ($Date: 1997/04/24 22:46:06 $)
|
When I first began the Perl FAQ in the late 80s, I never realized it would have grown to over a hundred pages, nor that Perl would ever become so popular and widespread. This document could not have been written without the tremendous help provided by Larry Wall and the rest of the Perl Porters. |
perlfaq1(1) -- General Questions About Perl ($Revision: 1.12 $, $Date: 1997/04/24 22:43:34 $)
|
Copyright (c) 1997 Tom Christiansen and Nathan Torkington. All rights reserved. See the perlfaq manpage for distribution information. Page 5 PERLFAQ1(1) PERLFAQ1(1) PPPPaaaaggggeeee 6666 |
perlfaq2(1) -- Obtaining and Learning about Perl ($Revision: 1.16 $, $Date: 1997/04/23 18:04:09 $)
|
Copyright (c) 1997 Tom Christiansen and Nathan Torkington. All rights reserved. See the perlfaq manpage for distribution information. Page 9 PERLFAQ2(1) PERLFAQ2(1) PPPPaaaaggggeeee 11110000 |
perlfaq3(1) -- Programming Tools ($Revision: 1.22 $, $Date: 1997/04/24 22:43:42 $)
|
Copyright (c) 1997 Tom Christiansen and Nathan Torkington. All rights reserved. See the perlfaq manpage for distribution information. Page 10 PERLFAQ3(1) PERLFAQ3(1) PPPPaaaaggggeeee 11111111 |
perlfaq4(1) -- Data Manipulation ($Revision: 1.19 $, $Date: 1997/04/24 22:43:57 $)
|
Copyright (c) 1997 Tom Christiansen and Nathan Torkington. All rights reserved. See the perlfaq manpage for distribution information. Page 22 PERLFAQ4(1) PERLFAQ4(1) PPPPaaaaggggeeee 22223333 |
perlfaq5(1) -- Files and Formats ($Revision: 1.22 $, $Date: 1997/04/24 22:44:02 $)
|
Copyright (c) 1997 Tom Christiansen and Nathan Torkington. All rights reserved. See the perlfaq manpage for distribution information. Page 17 PERLFAQ5(1) PERLFAQ5(1) PPPPaaaaggggeeee 11118888 |
perlfaq6(1) -- Regexps ($Revision: 1.17 $, $Date: 1997/04/24 22:44:10 $)
|
Copyright (c) 1997 Tom Christiansen and Nathan Torkington. All rights reserved. See the perlfaq manpage for distribution information. Page 12 PERLFAQ6(1) PERLFAQ6(1) PPPPaaaaggggeeee 11113333 |
perlfaq7(1) -- Perl Language Issues ($Revision: 1.18 $, $Date: 1997/04/24 22:44:14 $)
|
Copyright (c) 1997 Tom Christiansen and Nathan Torkington. All rights reserved. See the perlfaq manpage for distribution information. PPPPaaaaggggeeee 11115555 |
perlfaq8(1) -- System Interaction ($Revision: 1.21 $, $Date: 1997/04/24 22:44:19 $)
|
|
perlfaq9(1) -- Networking ($Revision: 1.17 $, $Date: 1997/04/24 22:44:29 $)
|
Copyright (c) 1997 Tom Christiansen and Nathan Torkington. All rights reserved. See the perlfaq manpage for distribution information. Page 7 PERLFAQ9(1) PERLFAQ9(1) PPPPaaaaggggeeee 8888 |
perlform(1) -- Perl formats
|
Because the values line may contain arbitrary expressions (for at fields, not caret fields), you can farm out more sophisticated processing to other functions, like sprintf() or one of your own. For example: format Ident = @<<<<<<<<<<<<<<< &commify($n) . To get a real at or caret into the field, do this: Page 4 PERLFORM(1) PERLFORM(1) format Ident = I have an @ here. "@" . To center a whole line of text, do something like this: format Ident = @||||||||||||||||||||||||||||||||||||||||||||||| "... |
perlfunc(1) -- Perl builtin functions
|
|
perlguts(1) -- Perl's Internal Functions
|
Datatypes Perl has three typedefs that handle Perl's three main data types: SV Scalar Value AV Array Value HV Hash Value Each typedef has specific routines that manipulate the various data types. What is an "IV"? Perl uses a special typedef IV which is a simple integer type that is guaranteed to be large enough to hold a pointer (as well as an integer). Perl also uses two special typedefs, I32 and I16, which will always be at least 32-bits and 16-bits long, respectively.... |