in reply to Re: Win32 GUI new version flag issues
in thread Win32 GUI new version flag issues

Thanks for that! Simply including the Constants module did not solve the syntax error, but at least you got me looking in the right direction. Ended up 'importing' the one I needed -

my $ws_vscroll = Win32::GUI::Constants::constant('WS_VSCROLL');

Replies are listed 'Best First'.
Re^3: Win32 GUI new version flag issues
by lostjimmy (Chaplain) on Sep 30, 2010 at 12:56 UTC
    If you know which tags you want, just import them at the use line: use Win32::GUI::Constants qw/WS_VSCROLL MB_OK/;

    Alternatively, you can also import the compatibility tags from the older version of Win32::GUI: use Win32::GUI::Constants qw/:compatibility_win32_gui/;

      Thanks for the additional info. It's nice to have options...