in reply to do Perl supoort the use of memory address and pointers

Well, there’s Pointer ...

Like most postmodern languages, Perl has the concept of references (see perlreftut), which are similar to pointers in that they “refer to” other things, but different in that (a) they know what sort of thing they are referring to, and (b) every thing always knows how many references to it currently exist.   Furthermore, memory objects are automatically “garbage collected.”   You don’t have to free them explicitly.

Replies are listed 'Best First'.
Re^2: do Perl supoort the use of memory address and pointers
by tobyink (Canon) on Apr 24, 2013 at 20:49 UTC

    Also of interest: Devel::PeekPoke which (quite shockingly) has a pure-Perl implementation.

    package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name