use FileFormat::PE;
my $x = new FileFormat::PE("/mnt/winc/windows/explorer.exe");
print "MajorVersion: " . $x->major_version() . "\n"; print "MinorVersion: " . $x->minor_version() . "\n"; print "Copyright: " . $x->copyright() . "\n";
etc...
It's not yet completly functional, but is aimed at extracting everything you never wanted to know about a binary (probably including resource icons for humour factor).
It is pure perl, is tested, and runs happily under linux, OS-X and Win32.
But it gets better- I'm drawing up plans to do exactly the same with linux/ELF binaries, and any other binary format I can get my grubby little mitts on.
I would like to try and keep them all in a coherant package, FileFormat::PE seems a little ambiguous, and Win32 isn't where I'd look for a cross-platform package. Any suggestions?
Does anyone else actually even have a use for this package? :)
Cheers, Matt Seddon.
_________________________________________________________________
Find a cheaper internet access deal - choose one to suit you. http://www.msn.co.uk/internetaccess
