Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: perl.exe has encountered an error and needs to close

by xdg (Monsignor)
on Mar 26, 2008 at 10:58 UTC ( [id://676359] : note . print w/replies, xml ) Need Help??


in reply to Re: perl.exe has encountered an error and needs to close
in thread perl.exe has encountered an error and needs to close

That's interesting/useful to know. I still think I might eventually get around to writing a separate Win32::ErrorMode module for clarity, but ++ for that pointer.

-xdg

Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.

  • Comment on Re^2: perl.exe has encountered an error and needs to close

Replies are listed 'Best First'.
Re^3: perl.exe has encountered an error and needs to close
by syphilis (Archbishop) on Mar 26, 2008 at 11:23 UTC
    I still think I might eventually get around to writing a separate Win32::ErrorMode module for clarity

    Certainly wouldn't hurt. It's not entirely expected that error modes would be handled by a module named Win32API::File. I actually remembered from a long time ago that the function was covered by a perl module ... couldn't remember the name of the module, so found it by searching an old perl 5.6 installation for all files that contained "SetErrorMode".

    As an aside, I have a long-abandoned module sitting on one of my much-disused Windows boxes called Win32::YAWN - Yet Another Windows Module (with mandatory and appropriate typo). It contains, among other ad-hoc Win32 API wrappings, an XSub that wraps SetErrorMode.

    You had better be quick ;-)

    Cheers,
    Rob