Sunday, July 8, 2012

fix error in Win32-Process-Memory-0.20/Memory.pm (line 38)

today, i write perl memorydump script (like "Cheat Engine")
i got error when undef PROCESS_NAME

"Use of uninitialized value in lc at C:/Perl/site/lib/Win32/Process/Memory.pm line 38."


fix : line 38

from
if (lc( $_->{Name} ) eq $pargs->{name}) {
to
if (defined $_->{Name} && (lc( $_->{Name} ) eq $pargs->{name})) {


my toy (perl memmory dump LOL)

Why You Don't LIKE My FaceBook Fanpage ?
×
blogger