On Sun, Sep 19, 2010 at 6:40 PM, Dr.Ruud <rvtol+usenet@isolution.nl<rvtol%2Busenet@isolution.nl> > wrote: > I think it should be documented that warn() always returns true. > Why constrain future versions of warn to return true? was: eval { 1 / $x } or warn( "1:", $@ ) and warn "2"; fix: eval { 1 / $x } or ( warn( "1:", $@ ), warn "2"; ); eval { 1 / $x } or do { warn( "1:", $@ ); warn "2"; }; if (!eval { 1 / $x }) { warn( "1:", $@ ); warn "2"; }Thread Previous