in reply to Manipulating C Structures using only Perl

I am wondering if there is any way to write data to a C structure in memory, knowing the address of the structure, using only Perl functions, modules, etc.
I don't think Perl-only functions allow you to write to arbitrary memory locations. You'd need XS for that.
  • Comment on Re: Manipulating C Structures using only Perl

Replies are listed 'Best First'.
Re^2: Manipulating C Structures using only Perl
by Anonymous Monk on Aug 17, 2010 at 12:33 UTC
    I don't think Perl-only functions allow you to write to arbitrary memory locations. You'd need XS for that.

    like PeekPoke or Win32::API