develooper Front page | perl.perl6.language | Postings from February 2001

Re: a name for the currently executing sub

Thread Previous | Thread Next
From:
Nicholas Clark
Date:
February 6, 2001 03:53
Subject:
Re: a name for the currently executing sub
Message ID:
20010206115257.X50969@plum.flirble.org
On Mon, Feb 05, 2001 at 11:15:41PM -0500, Dan Sugalski wrote:
> This isn't really what I'd consider a good thing, but raw memory access in 
> perl would be convenient. There'll probably be a special type of reference 
> that lets you do that. (Only needs a few changes to the vtable code, too)

It's certainly possibly to read raw memory with suitable (ab)use
of pack and unpack in perl (P and p)

I can't remember if it's possible to write to raw memory, and I'm
not currently on an operating system where I can test this sensibly.

But it's not obvious, safe or portable.

Nicholas Clark

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About