Skip to content

Commit 51a3f1b

Browse files
committed
err is gone
1 parent 4eff6da commit 51a3f1b

File tree

2 files changed

+9
-15
lines changed

2 files changed

+9
-15
lines changed

docs/appendix-a-index.txt

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ with the [following methods](appendix-b-grouped.html#match-object-methods)
477477
[*«logical op»*](tablet-4-operators.html#logical-selection) —
478478
short circuit *defined or*, returns the first defined value
479479
(from left to right), similar to [**||**](#pipe-pipe-op) —
480-
high [*precedence*](appendix-g-glossary.html#precedence) version of [**err**](#err)
480+
high [*precedence*](appendix-g-glossary.html#precedence) version of [**orelse**](#orelse)
481481

482482
<a id="backslash-0"/><a id="backslash-zero"/>
483483
**\\0**<span class="you-provide">s</span>**\[**<span class="you-provide">n</span>**]**
@@ -1147,7 +1147,7 @@ logical [*AND*](appendix-g-glossary.html#and) short circuit operator,
11471147
transferring [**$\_**](#context-var) from first to second block or expression,
11481148
if first did succeed &mdash;
11491149
example: `{...} andthen { .say }` &mdash;
1150-
see also: [**orelse**](#orelse), [**and**](#orelse)
1150+
see also: [**orelse**](#orelse) and [**and**](#and)
11511151

11521152
<a id="anon"/>
11531153
**anon**
@@ -2060,13 +2060,6 @@ see also: [**looser**](#looser) and [**tighter**](#tighter)
20602060
operator, compares the dynamic state of objects and values, in
20612061
contrast with static [**===**](#equal-equal-equal)
20622062

2063-
<a id="err"/><a id="err-op"/>
2064-
**err**
2065-
[*«logical op»*](tablet-4-operators.html#logical-selection) &mdash;
2066-
short circuit defined or, returns the first defined value from the left,
2067-
low [*precedence*](appendix-g-glossary.html#precedence) version of [**//**](#defined-or) &mdash;
2068-
see also: [**or**](#or), [**xor**](#xor)
2069-
20702063
<a id="ERR-global-var"/>
20712064
**\$\*ERR**
20722065
[*«special var»*](appendix-b-grouped.html#global-variables) &mdash;
@@ -3229,7 +3222,7 @@ method name (options: `<NFC NFKC NFD NFKD>`) how strings are going to be normali
32293222
[pramameter](appendix-g-glossary.html#parameter) which method should be used,
32303223
that defaults to **\$\?NF**
32313224

3232-
<a id="Nil-type"/>
3225+
<a id="Nil"/><a id="Nil-type"/>
32333226
**Nil**
32343227
[*«undefined value type»*](appendix-b-grouped.html#undefined-types) &mdash;
32353228
unlike *undef* in Perl 5 it really means no value here &mdash;
@@ -3346,7 +3339,7 @@ if there is one then the result is **True** in bool context,
33463339
otherwise the first *True* value is returned or the last one,
33473340
low [*precedence*](appendix-g-glossary.html#precedence) version of [**||**](#logical-or) &mdash;
33483341
example: `?('hurray' or 5)` returns `True` &mdash;
3349-
see also: [**any**](#any), [**orelse**](#orelse), [**err**](#err), [**xor**](#xor)
3342+
see also: [**any**](#any), [**orelse**](#orelse), [**xor**](#xor)
33503343

33513344
<a id="ord"/>
33523345
**ord** ([Str](#Str-type) [--\>](#minus-minus-greater-signature) [Int](#Int-type))
@@ -3361,12 +3354,13 @@ converts a character into number according a character table
33613354
get the index numbers of some characters,
33623355
plural of [**ord**](#ord), reverse of [**chrs**](#chrs)
33633356

3364-
<a id="orelse"/>
3357+
<a id="orelse"/> <a id="orelse-op"/>
33653358
**orelse**
33663359
*«logical op»* &mdash;
33673360
logical [*OR*](appendix-g-glossary.html#or) short circuit operator,
33683361
transferring an error code from first to second block/command, if
3369-
first do not succeed, similar to [**//**](#defined-or) &mdash;
3362+
first do not succeed (returns [**Nil**](Nil-type)) &mdash;
3363+
low [*precedence*](appendix-g-glossary.html#precedence) version of [**//**](#defined-or) &mdash;
33703364
example: `{...} orelse { note $! }` &mdash;
33713365
see also: [**andthen**](#andthen)
33723366

@@ -5074,7 +5068,7 @@ the second when both are empty and [**Nil**](#Nil-type) when both are not empty,
50745068
low [*precedence*](appendix-g-glossary.html#precedence) version of
50755069
[**\^\^**](#caret-caret-op) &mdash;
50765070
example: `(5 xor 0)` returns `5` &mdash;
5077-
see also: [**or**](#or), [**err**](#err)
5071+
see also: [**or**](#or), [**orelse**](#orelse)
50785072

50795073
<a id="xx"/><a id="xx-op"/>
50805074
**xx**

docs/tablet-4-operators.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Logical Selection
124124

125125
&& - and
126126
|| - or
127-
// - err
127+
// - orelse
128128
^^ - xor
129129

130130
see also [numerical selection](operators.html#numerical-selection)

0 commit comments

Comments
 (0)