Can someone show me an example how to

Change the camel (perl) icon to a user-defined icon?

In both Windows and DialogBoxes?

 

I tried using Windows/DialogBox option       –icon  =>  $myicon,

 

Where $myicon is either defined as…

 

$Icon = new Win32::GUI::Icon("C:\\Bibles\\bible.bmp");

     (or)

$Icon = new Win32::GUI::Bitmap("C:\\Bibles\\bible.bmp",1);

 

But neither work. 

 

Thanks,

Eric