avoid eval misinterpretation on old perls
authorZefram <zefram@fysh.org>
Sun, 18 Aug 2013 13:41:52 +0000 (14:41 +0100)
committerZefram <zefram@fysh.org>
Sun, 18 Aug 2013 13:41:52 +0000 (14:41 +0100)
commitefc2495a0c8d54eaa2b5e813404a9cff0db3ca9d
treef95cfa6bfe270670432cdea21d90a6a0afc1a1a6
parent578ded8b83c81ed50a24240399864adf97d37c64
avoid eval misinterpretation on old perls

An eval-BLOCK in the Carp test suite is misinterpreted by perl 5.6 as an
eval-STRING.  Add a do-BLOCK wrapper inside the block to satisfy perl 5.6.
dist/Carp/t/Carp.t