文档介绍:Minimal Perl
Minimal Perl
For UNIX and Linux People
BY TIM MAHER
MANNING
Greenwich
(74° w. long.)
For online information and ordering of this and other Manning books, please visit
. The publisher offers discounts on this book when ordered in quantity.
For more information, please contact:
Special Sales Department
Manning Publications Co.
Cherokee Station
PO Box 20386 Fax: (609) 877-8256
New York, NY 10021 email: orders@
©2007 by Manning Publications Co. All rights reserved.
No part of this publication may be reproduced, stored in a retrieval system, or transmitted,
in any form or by means electronic, mechanical, photocopying, or otherwise, without prior
written permission of the publisher.
Many of the designations used by manufacturers and sellers to distinguish their products are
claimed as trademarks. Where those designations appear in the book, and Manning
Publications was aware of a trademark claim, the designations have been printed in initial
caps or all caps.
Recognizing the importance of preserving what has been written, it is Manning’s policy to have
the books we publish printed on acid-free paper, and we exert our best efforts to that end.
Manning Publications Co. Copyeditor: Tiffany Taylor
209 Bruce Park Avenue Typesetters: Denis Dalinnik, Dottie Marsico
Greenwich, CT 06830 Cover designer: Leslie Haimes
ISBN 1-932394-50-8
Printed in the United States of America
**********–VHG–1009080706
To Yeshe Dolma Sherpa,
whose fortitude, endurance,
and many sacrifices made this book possible.
To my parents,
Gloria Grady Washington and William N. Maher,
who indulged my early interests in literature.
To my limbic system,
with gratitude for all the good times we’ve had together.
brief contents
Part 1 Minimal Perl: for UNIX and Linux Users 1
1 Introducing Minimal Perl 3
2 Perl essentials 16
3 Perl as a (better) mand 53
4 Perl as a (better) mand 89
5 Perl as a (better) mand 121
6 Perl as a (bet