in reply to Re^2: How to test if a file is readable on Win64?
in thread How to test if a file is readable on Win64?

It's my understanding that wrapping code in an eval will effectively fork and return the result code, setting $@ on an error. It should sidestep the crash nicely allowing for the catch that the OP appears to be digging for.

That said, I could be answering the wrong question.

  • Comment on Re^3: How to test if a file is readable on Win64?

Replies are listed 'Best First'.
Re^4: How to test if a file is readable on Win64?
by Anonymous Monk on Mar 12, 2014 at 11:00 UTC
    eval never forks
    eval cannot trap win32 messageboxes (popups)
    win32 messageboxes (popups) are generated by msvs c-runtime ... they are not the result of die
      And thus ignorance continues to be quashed one post at a time. Thanks for this.