I am not sure of what you are asking here. In any case, I went into the Windows XP environment variables area and created PP_TK_ICONFIX with a value of 1. I have perl v5.8.3
I then used a known good file hello_tk.pl as shown below, with the resulting error message. Is this what you are asking for? >pp -o hello_tk.exe -i hi.ico hello_tk.pl Can't locate object method "new" via package "Win32::Exe::IconFile" at C:\Perl\bin\pp line 175. ----- Original Message ----- From: "Alan Stewart" <[EMAIL PROTECTED]> To: "Autrijus Tang" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, April 16, 2004 4:00 AM Subject: Re: pp -i <iconfile> with Tk apps > On 17 Mar 2004 at 17:43, Alan Stewart wrote: > > > Prior to PAR 0.80, there was a change to pp that enabled the "-i" option to change the > > icons in the Tk.dll, as well as the .exe itself for Win32 Tk apps. That changes the > > icon in the upperleft corner of the Tk window. It worked for me, but not for Autrijus. > > If anyone out there is packing Tk apps, please try it out and let us know how it goes. > > > > As you can see, this feature is off by default. Set PP_TK_ICONFIX=1 before running pp > > to enable it. > > It appears that this does work for perl 5.6, but not perl 5.8. > > Alan Stewart >
