Learning Perl: [making easy things easy & hard things possible]
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Buch |
Sprache: | English |
Veröffentlicht: |
Beijing [u.a.]
O'Reilly
2001
|
Ausgabe: | 3. ed. |
Schlagworte: | |
Online-Zugang: | Inhaltsverzeichnis |
Beschreibung: | XVI, 316 S. |
ISBN: | 0596001320 |
Internformat
MARC
LEADER | 00000nam a2200000 c 4500 | ||
---|---|---|---|
001 | BV013935113 | ||
003 | DE-604 | ||
005 | 20091006 | ||
007 | t | ||
008 | 011001s2001 |||| 00||| eng d | ||
016 | 7 | |a 962363618 |2 DE-101 | |
020 | |a 0596001320 |9 0-596-00132-0 | ||
035 | |a (OCoLC)614512710 | ||
035 | |a (DE-599)BVBBV013935113 | ||
040 | |a DE-604 |b ger |e rakwb | ||
041 | 0 | |a eng | |
049 | |a DE-91 |a DE-91G |a DE-703 |a DE-355 |a DE-29T |a DE-83 |a DE-11 | ||
084 | |a ST 250 |0 (DE-625)143626: |2 rvk | ||
084 | |a ST 260 |0 (DE-625)143632: |2 rvk | ||
084 | |a DAT 366f |2 stub | ||
100 | 1 | |a Schwartz, Randal L. |d 1961- |e Verfasser |0 (DE-588)120327996 |4 aut | |
245 | 1 | 0 | |a Learning Perl |b [making easy things easy & hard things possible] |c Randal L. Schwartz and Tom Phoenix |
250 | |a 3. ed. | ||
264 | 1 | |a Beijing [u.a.] |b O'Reilly |c 2001 | |
300 | |a XVI, 316 S. | ||
336 | |b txt |2 rdacontent | ||
337 | |b n |2 rdamedia | ||
338 | |b nc |2 rdacarrier | ||
650 | 0 | 7 | |a Perl 5.8 |0 (DE-588)4698927-4 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a Perl 5.6 |0 (DE-588)4646656-3 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a UNIX |0 (DE-588)4061835-3 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a Perl 5.10 |0 (DE-588)7638891-8 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a Perl |g Programmiersprache |0 (DE-588)4307836-9 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a Perl 5.14 |0 (DE-588)7844894-3 |2 gnd |9 rswk-swf |
655 | 7 | |0 (DE-588)4151278-9 |a Einführung |2 gnd-content | |
689 | 0 | 0 | |a Perl |g Programmiersprache |0 (DE-588)4307836-9 |D s |
689 | 0 | |5 DE-604 | |
689 | 1 | 0 | |a Perl 5.6 |0 (DE-588)4646656-3 |D s |
689 | 1 | |5 DE-604 | |
689 | 2 | 0 | |a Perl 5.14 |0 (DE-588)7844894-3 |D s |
689 | 2 | |8 1\p |5 DE-604 | |
689 | 3 | 0 | |a Perl 5.10 |0 (DE-588)7638891-8 |D s |
689 | 3 | |8 2\p |5 DE-604 | |
689 | 4 | 0 | |a Perl 5.8 |0 (DE-588)4698927-4 |D s |
689 | 4 | |8 3\p |5 DE-604 | |
689 | 5 | 0 | |a UNIX |0 (DE-588)4061835-3 |D s |
689 | 5 | |8 4\p |5 DE-604 | |
700 | 1 | |a Phoenix, Tom |e Verfasser |0 (DE-588)123176123 |4 aut | |
856 | 4 | 2 | |m HEBIS Datenaustausch |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=009536418&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
999 | |a oai:aleph.bib-bvb.de:BVB01-009536418 | ||
883 | 1 | |8 1\p |a cgwrk |d 20201028 |q DE-101 |u https://d-nb.info/provenance/plan#cgwrk | |
883 | 1 | |8 2\p |a cgwrk |d 20201028 |q DE-101 |u https://d-nb.info/provenance/plan#cgwrk | |
883 | 1 | |8 3\p |a cgwrk |d 20201028 |q DE-101 |u https://d-nb.info/provenance/plan#cgwrk | |
883 | 1 | |8 4\p |a cgwrk |d 20201028 |q DE-101 |u https://d-nb.info/provenance/plan#cgwrk |
Datensatz im Suchindex
_version_ | 1804128781724549120 |
---|---|
adam_text | Learning Perl
Third Edition
Randal L Schwartz and Tom Phoenix
O REILLY*
Beijing • Cambridge • Farnham • Koln • Paris • Sebastopol • Taipei • Tokyo
Table of Contents
Preface xi
1 Introduction 1
Questions and Answers /
What Does Perl Stand For? 4
How Can I Get Perl? 8
How Do I Make a Perl Program? 12
A Whirlwind Tour of Perl 17
Exercises 18
2 Scalar Data 19
What Is Scalar Data? 19
Numbers 19
Strings 22
Perl s Built-in Warnings 26
Scalar Variables 27
Output with print 29
The if Control Structure 34
Getting User Input 35
The chomp Operator 36
The while Control Structure 37
The undef Value 37
The defined Function 38
Exercises 39
vi Table of Contents
3 Lists and Arrays 40
Accessing Elements of an Array 41
Special Array Indices 42
List Literals 43
List Assignment 45
Interpolating Arrays into Strings 47
The foreach Control Structure 48
Perl s Favorite Default: $_ 49
Scalar and List Context 51
STDIN in List Context 54
Exercises 55
4 Subroutines 56
System and User Functions 56
Defining a Subroutine 57
Invoking a Subroutine 57
Return Values 58
Arguments 60
Private Variables in Subroutines 62
The local Operator 63
Variable-length Parameter Lists 64
Notes on Lexical (my) Variables 67
The use strict Pragma 68
The return Operator 69
Exercises 71
5 Hashes 73
What Is a Hash? 73
Hash Element Access 76
Hash Functions 80
Typical Use of a Hash 83
Exercises 84
6 I/O Basics 86
Input from Standard Input 86
Input from the Diamond Operator 88
The Invocation Arguments 90
Output to Standard Output 91
Formatted Output with printf 94
Exercises 96
Table of Contents vtt
7 Concepts of Regular Expressions 98
What Are Regular Expressions? 98
Using Simple Patterns 100
A Pattern Test Program 702
Exercises 103
8 More About Regular Expressions 105
Character Classes 705
General Quantifiers i 707
Anchors 70S
Memory Parentheses 709
Precedence 777
Exercises 773
9- Using Regular Expressions 115
Matches with m// 775
Option Modifiers 775
The Binding Operator, =~ 777
Interpolating into Patterns 118
The Match Variables 77 9
Substitutions with s/// 722
The split Operator 725
The join Function 725
Exercises 727
10 More Control Structures 128
The unless Control Structure 72*
The until Control Structure 725
Expression Modifiers 730
The Naked Block Control Structure 737
The elsif Clause 732
Autoincrement and Autodecrement : 733
The for Control Structure 735
Loop Controls 138
Logical Operators 742
Exercise 747
11 Pilehandles and Pile Tests 148
What Is a Filehandle? 148
Opening a Filehandle 750
Fatal Errors with die 752
viii Table of Contents
Using Filehandles 755
Reopening a Standard Filehandle 757
File Tests 757
Exercises 757
12 Directory Operations 168
Moving Around the Directory Tree 768
Globbing 765
An Alternate Syntax for Globbing 770
Directory Handles 777
Recursive Directory Listing 773
Exercises 773
13- Manipulating Files and Directories 174
Removing Files 774
Renaming Files 775
Links and Files 777
Making and Removing Directories 182
Modifying Permissions 184
Changing Ownership 184
Changing Timestamps 185
Using Simple Modules 185
Exercises 190
14 Process Management 192
The system Function 192
The exec Function 795
The Environment Variables 7 96
Using Backquotes to Capture Output 7 97
Processes as Filehandles 207
Getting Down and Dirty with Fork 203
Sending and Receiving Signals 204
Exercises 206
15 Strings and Sorting 208
Finding a Substring with index 208
Manipulating a Substring with substr 209
Formatting Data with sprintf 277
Advanced Sorting 273
Exercises 219
Table of Contents ix
16 Simple Databases 221
DBM Files and DBM Hashes 227
Manipulating Data with pack and unpack 224
Fixed-length Random-access Databases 225
Variable-length (Text) Databases 228
Exercises 232
17 Some Advanced Perl Techniques 233
Trapping Errors with eval 233
Picking Items from a List with grep 236
Transforming Items from a List with map 237
Unquoted Hash Keys 238
More Powerful Regular Expressions 239
Slices 242
Exercise 247
A Exercise Answers 249
B Beyond the Llama 281
Index 303
|
any_adam_object | 1 |
author | Schwartz, Randal L. 1961- Phoenix, Tom |
author_GND | (DE-588)120327996 (DE-588)123176123 |
author_facet | Schwartz, Randal L. 1961- Phoenix, Tom |
author_role | aut aut |
author_sort | Schwartz, Randal L. 1961- |
author_variant | r l s rl rls t p tp |
building | Verbundindex |
bvnumber | BV013935113 |
classification_rvk | ST 250 ST 260 |
classification_tum | DAT 366f |
ctrlnum | (OCoLC)614512710 (DE-599)BVBBV013935113 |
discipline | Informatik |
edition | 3. ed. |
format | Book |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>02530nam a2200613 c 4500</leader><controlfield tag="001">BV013935113</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">20091006 </controlfield><controlfield tag="007">t</controlfield><controlfield tag="008">011001s2001 |||| 00||| eng d</controlfield><datafield tag="016" ind1="7" ind2=" "><subfield code="a">962363618</subfield><subfield code="2">DE-101</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">0596001320</subfield><subfield code="9">0-596-00132-0</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)614512710</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)BVBBV013935113</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-604</subfield><subfield code="b">ger</subfield><subfield code="e">rakwb</subfield></datafield><datafield tag="041" ind1="0" ind2=" "><subfield code="a">eng</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-91</subfield><subfield code="a">DE-91G</subfield><subfield code="a">DE-703</subfield><subfield code="a">DE-355</subfield><subfield code="a">DE-29T</subfield><subfield code="a">DE-83</subfield><subfield code="a">DE-11</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 250</subfield><subfield code="0">(DE-625)143626:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 260</subfield><subfield code="0">(DE-625)143632:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">DAT 366f</subfield><subfield code="2">stub</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Schwartz, Randal L.</subfield><subfield code="d">1961-</subfield><subfield code="e">Verfasser</subfield><subfield code="0">(DE-588)120327996</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Learning Perl</subfield><subfield code="b">[making easy things easy & hard things possible]</subfield><subfield code="c">Randal L. Schwartz and Tom Phoenix</subfield></datafield><datafield tag="250" ind1=" " ind2=" "><subfield code="a">3. ed.</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Beijing [u.a.]</subfield><subfield code="b">O'Reilly</subfield><subfield code="c">2001</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">XVI, 316 S.</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="b">n</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="b">nc</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Perl 5.8</subfield><subfield code="0">(DE-588)4698927-4</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Perl 5.6</subfield><subfield code="0">(DE-588)4646656-3</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">UNIX</subfield><subfield code="0">(DE-588)4061835-3</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Perl 5.10</subfield><subfield code="0">(DE-588)7638891-8</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Perl</subfield><subfield code="g">Programmiersprache</subfield><subfield code="0">(DE-588)4307836-9</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Perl 5.14</subfield><subfield code="0">(DE-588)7844894-3</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="655" ind1=" " ind2="7"><subfield code="0">(DE-588)4151278-9</subfield><subfield code="a">Einführung</subfield><subfield code="2">gnd-content</subfield></datafield><datafield tag="689" ind1="0" ind2="0"><subfield code="a">Perl</subfield><subfield code="g">Programmiersprache</subfield><subfield code="0">(DE-588)4307836-9</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2=" "><subfield code="5">DE-604</subfield></datafield><datafield tag="689" ind1="1" ind2="0"><subfield code="a">Perl 5.6</subfield><subfield code="0">(DE-588)4646656-3</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="1" ind2=" "><subfield code="5">DE-604</subfield></datafield><datafield tag="689" ind1="2" ind2="0"><subfield code="a">Perl 5.14</subfield><subfield code="0">(DE-588)7844894-3</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="2" ind2=" "><subfield code="8">1\p</subfield><subfield code="5">DE-604</subfield></datafield><datafield tag="689" ind1="3" ind2="0"><subfield code="a">Perl 5.10</subfield><subfield code="0">(DE-588)7638891-8</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="3" ind2=" "><subfield code="8">2\p</subfield><subfield code="5">DE-604</subfield></datafield><datafield tag="689" ind1="4" ind2="0"><subfield code="a">Perl 5.8</subfield><subfield code="0">(DE-588)4698927-4</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="4" ind2=" "><subfield code="8">3\p</subfield><subfield code="5">DE-604</subfield></datafield><datafield tag="689" ind1="5" ind2="0"><subfield code="a">UNIX</subfield><subfield code="0">(DE-588)4061835-3</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="5" ind2=" "><subfield code="8">4\p</subfield><subfield code="5">DE-604</subfield></datafield><datafield tag="700" ind1="1" ind2=" "><subfield code="a">Phoenix, Tom</subfield><subfield code="e">Verfasser</subfield><subfield code="0">(DE-588)123176123</subfield><subfield code="4">aut</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">HEBIS Datenaustausch</subfield><subfield code="q">application/pdf</subfield><subfield code="u">http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=009536418&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="999" ind1=" " ind2=" "><subfield code="a">oai:aleph.bib-bvb.de:BVB01-009536418</subfield></datafield><datafield tag="883" ind1="1" ind2=" "><subfield code="8">1\p</subfield><subfield code="a">cgwrk</subfield><subfield code="d">20201028</subfield><subfield code="q">DE-101</subfield><subfield code="u">https://d-nb.info/provenance/plan#cgwrk</subfield></datafield><datafield tag="883" ind1="1" ind2=" "><subfield code="8">2\p</subfield><subfield code="a">cgwrk</subfield><subfield code="d">20201028</subfield><subfield code="q">DE-101</subfield><subfield code="u">https://d-nb.info/provenance/plan#cgwrk</subfield></datafield><datafield tag="883" ind1="1" ind2=" "><subfield code="8">3\p</subfield><subfield code="a">cgwrk</subfield><subfield code="d">20201028</subfield><subfield code="q">DE-101</subfield><subfield code="u">https://d-nb.info/provenance/plan#cgwrk</subfield></datafield><datafield tag="883" ind1="1" ind2=" "><subfield code="8">4\p</subfield><subfield code="a">cgwrk</subfield><subfield code="d">20201028</subfield><subfield code="q">DE-101</subfield><subfield code="u">https://d-nb.info/provenance/plan#cgwrk</subfield></datafield></record></collection> |
genre | (DE-588)4151278-9 Einführung gnd-content |
genre_facet | Einführung |
id | DE-604.BV013935113 |
illustrated | Not Illustrated |
indexdate | 2024-07-09T18:54:42Z |
institution | BVB |
isbn | 0596001320 |
language | English |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-009536418 |
oclc_num | 614512710 |
open_access_boolean | |
owner | DE-91 DE-BY-TUM DE-91G DE-BY-TUM DE-703 DE-355 DE-BY-UBR DE-29T DE-83 DE-11 |
owner_facet | DE-91 DE-BY-TUM DE-91G DE-BY-TUM DE-703 DE-355 DE-BY-UBR DE-29T DE-83 DE-11 |
physical | XVI, 316 S. |
publishDate | 2001 |
publishDateSearch | 2001 |
publishDateSort | 2001 |
publisher | O'Reilly |
record_format | marc |
spelling | Schwartz, Randal L. 1961- Verfasser (DE-588)120327996 aut Learning Perl [making easy things easy & hard things possible] Randal L. Schwartz and Tom Phoenix 3. ed. Beijing [u.a.] O'Reilly 2001 XVI, 316 S. txt rdacontent n rdamedia nc rdacarrier Perl 5.8 (DE-588)4698927-4 gnd rswk-swf Perl 5.6 (DE-588)4646656-3 gnd rswk-swf UNIX (DE-588)4061835-3 gnd rswk-swf Perl 5.10 (DE-588)7638891-8 gnd rswk-swf Perl Programmiersprache (DE-588)4307836-9 gnd rswk-swf Perl 5.14 (DE-588)7844894-3 gnd rswk-swf (DE-588)4151278-9 Einführung gnd-content Perl Programmiersprache (DE-588)4307836-9 s DE-604 Perl 5.6 (DE-588)4646656-3 s Perl 5.14 (DE-588)7844894-3 s 1\p DE-604 Perl 5.10 (DE-588)7638891-8 s 2\p DE-604 Perl 5.8 (DE-588)4698927-4 s 3\p DE-604 UNIX (DE-588)4061835-3 s 4\p DE-604 Phoenix, Tom Verfasser (DE-588)123176123 aut HEBIS Datenaustausch application/pdf http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=009536418&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA Inhaltsverzeichnis 1\p cgwrk 20201028 DE-101 https://d-nb.info/provenance/plan#cgwrk 2\p cgwrk 20201028 DE-101 https://d-nb.info/provenance/plan#cgwrk 3\p cgwrk 20201028 DE-101 https://d-nb.info/provenance/plan#cgwrk 4\p cgwrk 20201028 DE-101 https://d-nb.info/provenance/plan#cgwrk |
spellingShingle | Schwartz, Randal L. 1961- Phoenix, Tom Learning Perl [making easy things easy & hard things possible] Perl 5.8 (DE-588)4698927-4 gnd Perl 5.6 (DE-588)4646656-3 gnd UNIX (DE-588)4061835-3 gnd Perl 5.10 (DE-588)7638891-8 gnd Perl Programmiersprache (DE-588)4307836-9 gnd Perl 5.14 (DE-588)7844894-3 gnd |
subject_GND | (DE-588)4698927-4 (DE-588)4646656-3 (DE-588)4061835-3 (DE-588)7638891-8 (DE-588)4307836-9 (DE-588)7844894-3 (DE-588)4151278-9 |
title | Learning Perl [making easy things easy & hard things possible] |
title_auth | Learning Perl [making easy things easy & hard things possible] |
title_exact_search | Learning Perl [making easy things easy & hard things possible] |
title_full | Learning Perl [making easy things easy & hard things possible] Randal L. Schwartz and Tom Phoenix |
title_fullStr | Learning Perl [making easy things easy & hard things possible] Randal L. Schwartz and Tom Phoenix |
title_full_unstemmed | Learning Perl [making easy things easy & hard things possible] Randal L. Schwartz and Tom Phoenix |
title_short | Learning Perl |
title_sort | learning perl making easy things easy hard things possible |
title_sub | [making easy things easy & hard things possible] |
topic | Perl 5.8 (DE-588)4698927-4 gnd Perl 5.6 (DE-588)4646656-3 gnd UNIX (DE-588)4061835-3 gnd Perl 5.10 (DE-588)7638891-8 gnd Perl Programmiersprache (DE-588)4307836-9 gnd Perl 5.14 (DE-588)7844894-3 gnd |
topic_facet | Perl 5.8 Perl 5.6 UNIX Perl 5.10 Perl Programmiersprache Perl 5.14 Einführung |
url | http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=009536418&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT schwartzrandall learningperlmakingeasythingseasyhardthingspossible AT phoenixtom learningperlmakingeasythingseasyhardthingspossible |