Hello All, I have a small perl win32 file which generates a GUI window, which worked pretty fine. Now, I converted it into a .pm file and called it from an other .pl fie. The GUI still come up OK, but the actions are not firing .
The main code in the new setup is ..
BEGIN
{
$0 =~ /^(.*)[\\\/][^\\\/]*$/;
$path = $1 ? $1 : ".";
unshift(@INC, $path);
}
use strict;
use ChviewGUI;
my $cwd = `cd`;
chomp($cwd);
&ChviewGUI::gui($cwd);
And the ChviewGUI.pm is attached here.
<<ChviewGUI.pm>>
Why is the actions not firing in this case ?
Thanks in advance for any help.
Thanks and Regards
Maxmelbin Neson
------------------------------------------------------------------------
-----------------------------------------
Robert Bosch India Limited
Engineering Services - DS - Methods and Tools (RBIN/EMT1)
123 Industrial Layout - Hosur Road - Bangalore 560 095 - INDIA
Telephone: +91 80 6657-4532 Fax: +91 80 6657-1404
[EMAIL PROTECTED]
www.bosch.com
ChviewGUI.pm
Description: ChviewGUI.pm
------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________ Perl-Win32-GUI-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users http://perl-win32-gui.sourceforge.net/

