Skip to content

Commit 31cd9f9

Browse files
committed
Escape the asterisk when quoted as the glob sigil, to avoid confusing a Markdown parser
1 parent 28aefdf commit 31cd9f9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ppcs/ppc0022-metaprogramming.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ TODO: Define what the filters look like. Need to be able to select scalar/array/
133133

134134
### Methods on Meta-Symbol Objects
135135

136-
Several of the above methods return instances of a meta-symbol object. In practice, any meta-symbol object will represent either a glob (when using the "*" sigil), variable (when using the "$@%" sigils), or a subroutine (when using the "&"). Each of these cases is described further below. The following methods are available on all kinds.
136+
Several of the above methods return instances of a meta-symbol object. In practice, any meta-symbol object will represent either a glob (when using the "\*" sigil), variable (when using the "$@%" sigils), or a subroutine (when using the "&"). Each of these cases is described further below. The following methods are available on all kinds.
137137

138138
#### `basename`
139139

@@ -149,7 +149,7 @@ Returns the final part of the symbol's fully qualified name; the name within the
149149
$sigil = $metasymbol->sigil;
150150
```
151151

152-
Returns the single-character sigil that leads the symbol's name. This will be one of "*", "$", "@", "%" for variables or "&" for subroutines.
152+
Returns the single-character sigil that leads the symbol's name. This will be one of "\*", "$", "@", "%" for variables or "&" for subroutines.
153153

154154
#### `package`
155155

@@ -187,7 +187,7 @@ These methods should not be considered an exhaustive selection. There may be obj
187187

188188
### Methods on Meta-Glob Objects
189189

190-
These methods are available on any meta-symbol object that represents a glob - i.e. one whose sigil is "*".
190+
These methods are available on any meta-symbol object that represents a glob - i.e. one whose sigil is "\*".
191191

192192
#### `can_scalar`, `get_scalar`
193193

0 commit comments

Comments
 (0)