SPUG: Parsing (Windows) PE files in Perl

Andrew Sweger andrew at sweger.net
Fri Jan 13 10:04:46 PST 2006


On Fri, 13 Jan 2006, jerry gay wrote:

> that's the danger of coding perl at 6:56am.
> 
> my $file = 'foo.dll';
> open(local *PE, '<', my $file)
                       ^^
                       ??

>     or die qq{can't open $file: $!};
> binmode *PE;
> 
> should work much better for reading a file.

-- 
Andrew B. Sweger -- The great thing about multitasking is that several
                                things can go wrong at once.




More information about the spug-list mailing list