In pure Perl there is absolutely no way of directly accessing the content of the (virtual) memory... You cannot take an integer, and treat it like a pointer or a reference.
It is impossible with pure Perl and no XS modules. But Devel::Pointer can turn Perl code into C pointers nightmare :)