in reply to Testing a module with eval() where $@ is clobbered (pre v5.14)

:) too many words , but does this shed any light? Or do you really need the value of $@ that gets clobbered
my $ret; eval { $ret = $foo->blah; 1 } or warn "it failed but did err get clobbered? $@";
  • Comment on Re: Testing a module with eval() where $@ is clobbered (pre v5.14)
  • Download Code