PeekPoke - Perl extension for reading and writing memory
use PeekPoke qw(peek poke); my $val = peek($address); poke($address, $val|1);
peek's argument is a machine address. (Strings will be converted to numbers as usual.) peek returns the value stored at that address.
peek
poke's arguments are a machine address and a value; the value is stored at the specified address.
poke
Addresses and values are either 32- or 64-bit integers, depending on whether your version of Perl was compiled with 64-bit support.
None by default.
Mark Dominus mjd-perl-peek+@plover.com Jason Dominus mjd-perl-poke+@plover.com
perl(1), Microsoft BASIC.
To install PeekPoke, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PeekPoke
CPAN shell
perl -MCPAN -e shell install PeekPoke
For more information on module installation, please visit the detailed CPAN module installation guide.