in reply to Re: Predeclaration
in thread Predeclaration

Perl isn't C, nor C++. In pure Perl there is absolutely no way of directly accessing the content of the (virtual) memory. There are no pointers in Perl - just references. You cannot take an integer, and treat it like a pointer or a reference. You cannot add something to a reference and get a new reference.

Abigail

Replies are listed 'Best First'.
Re: Re: Predeclaration
by IlyaM (Parson) on Jul 16, 2002 at 15:11 UTC
    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 :)

    --
    Ilya Martynov (http://martynov.org/)