Hi nice people

I've written my first GUI using The GUI Loft and all works fine except I
get the following warnings:

'use Win32::GUI;' is currently exporting constants into the callers
scope. This functionality is deprecated. Use 'use Win32::GUI();' or list
your required exports explicitly instead. at
C:/Perl/site/lib/Win32/GUI/Loft/Design.pm line 31
'use Win32::GUI;' is currently exporting constants into the callers
scope. This functionality is deprecated. Use 'use Win32::GUI();' or list
your required exports explicitly instead. at
C:/Perl/site/lib/Win32/GUI/ToolbarWindow.pm line 23
'use Win32::GUI;' is currently exporting constants into the callers
scope. This functionality is deprecated. Use 'use Win32::GUI();' or list
your required exports explicitly instead. at
C:/Perl/site/lib/Win32/GUI/BorderlessWindow.pm line 24
'use Win32::GUI;' is currently exporting constants into the callers
scope. This functionality is deprecated. Use 'use Win32::GUI();' or list
your required exports explicitly instead. at
C:/Perl/site/lib/Win32/GUI/Loft/Cluster.pm line 21
'use Win32::GUI;' is currently exporting constants into the callers
scope. This functionality is deprecated. Use 'use Win32::GUI();' or list
your required exports explicitly instead. at
C:/Perl/site/lib/Win32/GUI/AdHoc.pm line 31
'use Win32::GUI;' is currently exporting constants into the callers
scope. This functionality is deprecated. Use 'use Win32::GUI();' or list
your required exports explicitly instead. at
C:/Perl/site/lib/Win32/GUI/Loft/Control/ListView.pm line 22
'use Win32::GUI;' is currently exporting constants into the callers
scope. This functionality is deprecated. Use 'use Win32::GUI();' or list
your required exports explicitly instead. at
C:/Perl/site/lib/Win32/GUI/Loft/Control/TabStrip.pm line 23
'use Win32::GUI;' is currently exporting constants into the callers
scope. This functionality is deprecated. Use 'use Win32::GUI();' or list
your required exports explicitly instead. at
C:/Perl/site/lib/Win32/GUI/TabStripGroup.pm line 25
'use Win32::GUI;' is currently exporting constants into the callers
scope. This functionality is deprecated. Use 'use Win32::GUI();' or list
your required exports explicitly instead. at
C:/Perl/site/lib/Win32/GUI/HyperLink.pm line 6

Q1: Can someone advise as to the best way to overcome this issue please
or must I just turn off warnings using:
      no warnings 'deprecated';

BTW, SourceForge say to either

A) use Win32::GUI(); when not using constants

B) explicitly name them if you are using constants 

Q2: Since constants are being used how do I tell what need to be named?

Thanks
Brian Rowlands
We must accept finite disappointment, but we must never lose infinite
hope.
Martin Luther King Jr. </quotes/k/martinlutherking/>  



Reply via email to