Introspection: Difference between revisions

m
→‎{{header|Raku}}: Fix link: Perl 6 --> Raku
m (→‎{{header|zkl}}: fix bare tag)
m (→‎{{header|Raku}}: Fix link: Perl 6 --> Raku)
Line 1,922:
=={{header|Raku}}==
(formerly Perl 6)
<lang perl6>usemy v6;$bloop = # require Perl 6-123;
 
my $bloop = -123;
 
if MY::{'$bloop'}.defined and CORE::{'&abs'}.defined { say abs $bloop }
Line 1,935 ⟶ 1,933:
Number of PROCESS vars of type Int: 1
PROCESS vars of type Int add up to 28785</pre>
Obviously Perl 6Raku doesn't maintain a lot of global integer variables... <tt>:-)</tt>
 
Nevertheless, you can use similar code to access all the variables in any package you like,
2,392

edits