File tree Expand file tree Collapse file tree 4 files changed +10
-14
lines changed Expand file tree Collapse file tree 4 files changed +10
-14
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ Algunas maneras en las que puedes ayudarnos:
114
114
115
115
2 . El tratamiento que las implementaciones hacen de Pod 6 es todavía un poco inconsistente; esto evita impactos potenciales en el tiempo de ejecución.
116
116
117
- 3 . Un repo separado en la cuenta de Perl 6 de GitHub invita a más contribuidores y editores a participar.
117
+ 3 . Un repo separado en la cuenta de Perl 6 de GitHub invita a más contribuidores y editores a participar.
118
118
119
119
** P:** ¿Debería incluir los métodos de las superclases o de los roles?<br >
120
120
** A:** No. La versión en HTML ya los incluye, y el script ` p6doc ` también.
Original file line number Diff line number Diff line change 4
4
5
5
= SUBTITLE Debug Perl 6 programs
6
6
7
- There are at least two useful debuggers available for Rakudo:
7
+ There are at least two useful debuggers available for Rakudo, the Perl
8
+ 6 compiler:
8
9
9
10
= item L < Debugger::UI::CommandLine|https://modules.perl6.org/repo/Debugger::UI::CommandLine >
10
11
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ through the L«C<$*KERNEL>|/language/variables#Dynamic_variables» and other dyn
15
15
16
16
Instance method returning the name and version of the object.
17
17
18
- say $*PERL.gist; # OUTPUT: «Perl 6 (6.c)»
18
+ say $*PERL.gist; # OUTPUT: «Perl 6 (6.c)»
19
19
20
20
C < $*PERL > is an object of the L < Perl > type, which mixes in this role and thus implements this method.
21
21
Original file line number Diff line number Diff line change @@ -19,17 +19,12 @@ for @files.sort -> $file {
19
19
my $ ok = True ;
20
20
my $ row = 0 ;
21
21
my @ bad ;
22
- for $ file . IO . slurp . lines -> $ line {
23
- $ row ++ ;
24
- if $ line ~~ / ^ \s + / {
25
- next ;
26
- }
27
- for $ line ~~ m :g / <! after 'implementing ' > 'Perl' $ < space > =(\s + ) \d / -> $ match {
28
- my $ spaces = ~ $ match <space >;
29
- if $ spaces . chars != 1 || $ spaces . uniname ne " NO-BREAK SPACE" {
30
- $ ok = False ;
31
- @ bad . push : $ row ;
32
- }
22
+ my $ content = $ file . IO . slurp . lines . join (" " );
23
+ for $ content ~~ m :g / <! after 'implementing ' > 'Perl' $ < space > =(\s + ) \d / -> $ match {
24
+ my $ spaces = ~ $ match <space >;
25
+ if $ spaces . chars != 1 || $ spaces . uniname ne " NO-BREAK SPACE" {
26
+ $ ok = False ;
27
+ @ bad . push : $ row ;
33
28
}
34
29
}
35
30
my $ error = $ file ;
You can’t perform that action at this time.
0 commit comments