in reply to pp generated exe can't find DLL when using OLE

Which version of PAR/OLE do you have? I can't get your example to work, but I've no problem pp-ing up the following with the latest PAR/Win32::OLE (PAR 0.86, Win32::OLE 0.17).
use strict; use Win32::OLE qw[in with]; my $fs = Win32::OLE->CreateObject('Scripting.FileSystemObject'); my $size = 0; my $d = $fs->GetFolder("$ARGV[0]"); eval { $size = $d->size( ); my $size_gb = ($size/1024/1024); print "Size: ".$size_gb."Mb ($size byte)"; };
Works without a hitch. My perl is ActivePerl 5.8.4.

MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
** The third rule of perl club is a statement of fact: pod is sexy.