in reply to Re^3: Can't change icon with win32 module
in thread Can't change icon with win32 module

I used Win32::FormatMessage(Win32::GetLastError()) but it returns The operation completed successfully for both icons (those the do and doe that don't give undef).
It even says the same thing if I use a pl file instead of ico,
Seems to me to be pretty equivalent to the -e operator.

Replies are listed 'Best First'.
Re^5: Can't change icon with win32 module
by Anonymous Monk on Sep 23, 2012 at 05:47 UTC

    I used ...

    Where did you use it? Where did you add it?

    Show your code

Re^5: Can't change icon with win32 module
by bulk88 (Priest) on Sep 23, 2012 at 03:59 UTC
      $^E is $^E, use $^E instead of SomeFunctionName
        $^E is 10 times slower in NYTProf than Win32::GetLastError, plus you have to cast it with a +0 to get an error code plus $^E doesn't know the text for the 12*** or 15*** series.