On 24-May-2004 [EMAIL PROTECTED] wrote:
> This presents a problem if you are eval'ing and you want to match $@
> with 
> /^Can't locate/.
> 
> So to get perl2exe to work with POE and my stuff I had to do two 
> additional things:
> 
> 1) In POE::Kernel relax all the pattern matches $@ from eval from
> /^Can't locate/ to /Can't locate/.

This regex is also annoying to those of us who use alternative DIE and
WARN handlers.  I have to put 

  local $SIG{'__DIE__'} = 'DEFAULT';

Into the appropriate BEGIN {} blocks of POE::Kernel and POE::Resources.

-Philip

Reply via email to