We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e10e3e7 commit c84fafeCopy full SHA for c84fafe
doc/Language/traits.pod6
@@ -34,7 +34,15 @@ also native.
34
=item X<CUnion> is going to use the same representation as an C<union> in C; see
35
L<this|/language/nativecall#CUnions> for an example.
36
37
+On the other hand, X<P6opaque> is the default representation used for all
38
+objects in Perl 6.
39
40
+ m: class Thar {};
41
+ say Thar.REPR; #OUTPUT: «P6opaque»
42
+
43
+The L<meta object protocol|/language/mop> uses it by default for every object
44
+and class unless specified otherwise; for that reason, it is in general not
45
+necessary unless you are effectively working with that interface.
46
47
=end pod
48
0 commit comments