I just use GUI:: instead of Win32::GUI just as I use ODBC:: instead of
Win32::ODBC. I have had no trouble.
Maybe Aldo can verify this for us.
----------------------------------
In his book WINDOWS NT Win32 Perl Programming: The Standard Extensions,
David Roth writes:
"The Win32::ODBC extension's functions also map to another namespace called
ODBC. It is not necessary to always use the full Win32::ODBC namespace when
calling functions or constants. For Example, the following tow function
calls are the same:
@Error = Win32::ODBC::Error();
@Error = ODBC::Error();
Likewise, when you create a new ODBC object, you can use either of the
following:
$db = new Win32::ODBC( "MyDSN" );
$db = new ODBC::( "MyDSN" );
Anywhere that you may need to use the full namespace of the extension, you
instead use the abbreviated version: ODBC."
Regards,
Eric Hansen
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of David Hiltz
Sent: Wednesday, December 01, 1999 9:59 AM
To: [EMAIL PROTECTED]
Subject: [perl-win32-gui] with or without Win32
Simple question. I've notice some folks write code using
Win32::GUI::..
and some folks use:
GUI::..
Does it matter which form you use?
Obviously it's less typing to use the second form, but didn't know
if their was a drawback.
-David Hiltz