[Please always put a descriptive subject line with your mail - if
nothing else it helps people searching the archive]
Sergey Cherniyenko wrote:
How can I turn on debugging in Win32::GUI to get some descriptive
output to console. In modules I've seen that can be done. How?
There is no specific additional debugging options for Win32::GUI.
I always recommend the following:
(1) Start your scripts with
#!perl -w
use strict;
use warnings;
This gets you the maximum help from perl on potential issues.
(2) Always check the return values from object creation
- most Win32::GUI object constructors (typically the new() method)
return undef on failure.
If you are having a specific problem, then try asking here, ideally with
a complete (but short) script demonstrating the problem.
Regards,
Rob.