Skip to content

Commit 38a6066

Browse files
committed
Change .perl to .raku in more files.
1 parent 6656db4 commit 38a6066

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

doc/Language/classtut.pod6

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -829,13 +829,13 @@ C<GeekCook>.
829829
830830
The call C<$o.^name> tells us the type of C<$o>: in this case C<Programmer>.
831831
832-
C<$o.perl> returns a string that can be executed as Perl code, and
833-
reproduces the original object C<$o>. While this does not work perfectly in
832+
C<$obj.perl> (C<$obj.raku>) returns a string that can be executed as Raku code,
833+
and reproduces the original object C<$o>. While this does not work perfectly in
834834
all cases, it is very useful for debugging simple objects.
835835
N<For example, closures cannot easily be reproduced this way; if you
836836
don't know what a closure is don't worry. Also current implementations have
837837
problems with dumping cyclic data structures this way, but they are expected
838-
to be handled correctly by C<.perl> at some point.>
838+
to be handled correctly by C<$obj.perl> (C<$obj.raku>) at some point.>
839839
X<|^methods>
840840
C<$o.^methods(:local)> produces a list of L<Method|/type/Method>s that can be
841841
called on C<$o>. The C<:local> named argument limits the returned methods to
@@ -856,7 +856,7 @@ unsurprisingly returns the class name.
856856
Introspection is very useful for debugging and for learning the language
857857
and new libraries. When a function or method returns an object you don't
858858
know about, by finding its type with C<.^name>, seeing a construction recipe
859-
for it with C<.perl>, and so on, you'll get a good idea of what its return
859+
for it with C<.raku>, and so on, you'll get a good idea of what its return
860860
value is. With C<.^methods>, you can learn what you can do with the class.
861861
862862
But there are other applications too. For instance, a routine that serializes

doc/Language/iterating.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class DNA does Iterable {
3131
};
3232
3333
my @longer-chain = DNA.new('ACGTACGTT');
34-
say @longer-chain.perl;
34+
say @longer-chain.raku;
3535
# OUTPUT: «[("A", "C", "G"), ("T", "A", "C"), ("G", "T", "T")]␤»
3636
3737
say @longer-chain».join("").join("|"); #OUTPUT: «ACG|TAC|GTT␤»

0 commit comments

Comments
 (0)