It doesn't matter if it is a C pointer.

Unless you are working on Moarvm, you should consider them arbitrary unique
numbers. Like GUID.

That said, yes I'm sure that they represent a location in memory.

On Sun, Dec 20, 2020, 6:45 PM ToddAndMargo via perl6-users <
perl6-us...@perl.org> wrote:

> Hi All,
>
> In the following:
>
> Example 3:
>
>     class PrintTest {
>         has Str $.Msg;
>
>         method PrintMsg()  {
>            print "self   = <" ~ self.Msg ~ ">\n";
>            print "self   = <" ~ self.Str ~ ">\n";
>         }
>     }
>
>     my $x = PrintTest.new(Msg => "abc");
>
>     $x.PrintMsg
>     self   = <abc>
>     self   = <PrintTest<95224840>>
>
> is "95224840" a C pointer?  What is that thing?
>
>
> Many thanks,
> -T
>

Reply via email to