Skip to content

Commit 26c92d0

Browse files
committed
minor fixes and crosslinks
1 parent bb5aa7c commit 26c92d0

File tree

2 files changed

+23
-21
lines changed

2 files changed

+23
-21
lines changed

docs/appendix-a-index.txt

Lines changed: 23 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1406,7 +1406,7 @@ listrefs (see also **[categorize](#categorize)**)
14061406
<a id="close"/>
14071407
**[close](tablet-5-io.html#close)**
14081408
*«filehandle method»* &mdash;
1409-
releasing the connection to a file via a file handler
1409+
releasing the connection to a file via a [*file handle*](IO-type)
14101410

14111411
<a id="closure-adverb"/>
14121412
**[:closure](tablet-2-basic-syntax.html#interpolation)**
@@ -1823,7 +1823,7 @@ the left, short circuit or,low precedence version of
18231823
<a id="ERR-global-var"/>
18241824
**\$\*ERR**
18251825
*[«special var»](appendix-b-grouped.html#global-variables)* &mdash;
1826-
file handle for the standard error output (command line mostly),
1826+
[*file handle*](IO-type) for the standard error output (command line mostly),
18271827
in Perl 5: *STDERR*
18281828

18291829
<a id="EUID-global-var"/>
@@ -2116,8 +2116,7 @@ line](tablet-5-io.html#command-line)
21162116
<a id="getc"/>
21172117
**[getc](tablet-5-io.html#getc)**
21182118
*«handle method»* &mdash;
2119-
reads one character from a file via file
2120-
handle
2119+
reads one character from a file via [*file handle*](IO-type)
21212120

21222121
<a id="getlogin"/>
21232122
**getlogin** &mdash;
@@ -2178,21 +2177,23 @@ random selection <span class="you-provide">n</span> (only parameter) of hash
21782177
**grammar**
21792178
*«block modifier»* &mdash;
21802179
special kind of **[class](#class)**
2181-
with methods that execute **[regex](#regex)**,
2182-
**[token](#token)**,
2183-
**[rule](#rule)** and produce [match objects](#match-var)
2180+
with methods like **[regex](#regex)**, **[token](#token)**, **[rule](#rule)**
2181+
that execute [*regex*](appendix-g-glossary.html#regex) and are named subpatterns,
2182+
produces a [match object](#match-var), the name is ment like in
2183+
"Parsing Expression Grammar" (PEG)
21842184

21852185
<a id="GRAMMAR-compiler-var"/>
21862186
**\$?GRAMMAR**
21872187
*[«special var»](appendix-b-grouped.html#compiler-hint-variables)* &mdash;
2188-
grammar of the currently used language (mostly **[$\~MAIN](#main-slang-var)**)
2188+
[grammar](#grammar) of the currently used [*slang*](appendix-g-glossary.html#slang)
2189+
(mostly **[$\~MAIN](#MAIN-slang-var)**)
21892190

21902191
<a id="graph-subrule"/>
21912192
**\<graph\>**
21922193
*[«predefined subrule»](appendix-b-grouped.html#subrules)* &mdash;
2193-
a "graphical" character
2194+
a "graphical" character, calles [*grapheme*](#grapheme)
21942195

2195-
<a id="graphs/>
2196+
<a id="graphs"/>
21962197
**graphs**([Str](#Str-type) [--\>](#double-minus-greater-signature) [Int](#Int-type))
21972198
*«string mmethod»* &mdash;
21982199
number of *[unicode](appendix-g-glossary.html#unicode)*
@@ -2212,9 +2213,10 @@ also: see also: **[:bytes](#bytes-modifier)**,
22122213
**grep**
22132214
*[«array op & method»](tablet-3-variables#array-methods)* &mdash;
22142215
returns all values of an array that pass a filter condition
2215-
(first parameter); the condition is a closure that takes one value
2216-
at a time (as [**`$_`**](#context-var) or `$^a`); see
2217-
also **[first](#first)** &mdash; example : `grep {$_ %% 2}, 1..5 ; # returns 2 4`
2216+
(first parameter), the condition is a closure that takes one value
2217+
at a time (as [**`$_`**](#context-var) or `$^a`) &mdash;
2218+
see also **[first](#first)** &mdash;
2219+
example : `grep {$_ %% 2}, 1..5;` returns: `2, 4`
22182220

22192221
<a id="gt"/><a id="gt-op"/>
22202222
**gt**
@@ -2350,7 +2352,7 @@ just import definitions from an already loaded module (see
23502352
<a id="IN-global-var"/>
23512353
**\$\*IN**
23522354
*[«special var»](appendix-b-grouped.html#global-variables)* &mdash;
2353-
file handle for thestandard input (command line mostly), see also
2355+
[*file handle*](IO-type) for the standard input (command line mostly), see also
23542356
**[$\*OUT](#OUT-global-var)**, in Perl 5: *STDIN*
23552357

23562358
<a id="INC-global-var"/>
@@ -2638,8 +2640,9 @@ current line number
26382640
returns a chomped list of lines
26392641
(chunks of character separated by **[\\n](#backslash-n)**)
26402642
containing a string - example: `$str.lines($limit)` equals
2641-
[`$str.comb( / ^^ \N* /, $limit )`](#comb), works also on file handles &mdash;
2642-
see also [**words**](#words)
2643+
[`$str.comb( / ^^ \N* /, $limit )`](#comb),
2644+
works also on [*file handles*](IO-type) &mdash;
2645+
see also: [**words**](#words)
26432646

26442647
<a id="list"/>
26452648
**list**()
@@ -2981,7 +2984,7 @@ opposite of: **[multi](#multi)**
29812984
<a id="open"/>
29822985
**[open](tablet-5-io.html#open)**
29832986
*«path method»* &mdash;
2984-
establishes a connection to a file via a file path name file handler
2987+
establishes a connection to a file via a [*file handle*](IO-type)
29852988

29862989
<a id="OPTS-global-var"/>
29872990
**$\*OPTS**
@@ -3027,8 +3030,8 @@ introduces **[package](#package)**-scoped names for variables and
30273030
<a id="OUT-global-var"/>
30283031
**\$\*OUT**
30293032
*[«special var»](appendix-b-grouped.html#global-variables)* &mdash;
3030-
file handle for standard output (command line mostly), see also
3031-
**[$\*IN](#IN-global-var)**, in Perl 5: *STDOUT*
3033+
[*file handle*](IO-type) for standard output (command line mostly) &mdash;
3034+
see also: **[$\*IN](#IN-global-var)**, in Perl 5: *STDOUT*
30323035

30333036
<a id="ov-modifier"/>
30343037
**:ov** *[«regex modifier»](appendix-b-grouped.html#regex-modifier)* &mdash;
@@ -3894,7 +3897,7 @@ seconds (with sub-second resolution)
38943897
<a id="slurp"/>
38953898
**[slurp](tablet-2-basic-syntax.html#files)**
38963899
*«path and file handle method»* &mdash;
3897-
reads an entire file into a string without a file handle
3900+
reads an entire file into a string without a [*file handle*](IO-type)
38983901

38993902
<a id="so"/><a id="so-op"/>
39003903
**so**

docs/appendix-g-glossary.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,6 @@ address of data in memory, often termed a capture in Perl 6
303303
**Regex** *(regular expression)* &mdash;
304304
in Perl5 its a pattern matching notation, here a whole language that does the same
305305

306-
307306
<a id="routine"/>
308307
**routine** &mdash;
309308
[block](#block) of code callable by name,

0 commit comments

Comments
 (0)