> On Wed, Jan 13, 2016 at 5:36 PM, ToddAndMargo <toddandma...@zoho.com
> <mailto:toddandma...@zoho.com>> wrote:
>
>     Hi All,
>
>     Just out of curiosity, is the word "Pointer" a "forbidden" word
>     in Perl 6 correspondences?  Will using the two together "Reference
>     Pointer" get me in hot water?
>
>     -T
>
>
>     --
>     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>     Computers are like air conditioners.
>     They malfunction when you open windows
>     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>

On 01/13/2016 05:54 PM, Brent Laabs wrote:
Nothing is Forbidden!  Everything is Permissible!

Also it would make it hard to talk about "is repr('CPointer')" and the
Pointer type in NativeCall.

While underneath the hood Scalar containers have pointers to values,
it's not a particularly useful view of Perl 6.  It's more useful to use
an OO or FP perspective.  Where in Perl 5 you'd have array references
and such, in Perl 6 can use an Array both as a reference and its values.

But if you'd like to introspect what variables are actually doing, we
have things like $foo.VAR to let you do that too.  Or you can use
binding (i.e. := ) to make something reference another object directly.
That's kind of like working with pointers.

Also, if you want to get faster (and likely more) responses than by
email, come visit us on the #perl6 IRC channel on freenode.  We'd love
to see you around.


Thank you!

I was on the IRC a few days back.  I am a little bit unsure of
what and how to use it.  Seems like a bunch of one line questions
and answers.





Reply via email to