Simplify the conditional logic for COW_REFCNT in Devel::Peek's test.
authorNicholas Clark <nick@ccl4.org>
Wed, 4 Sep 2013 13:14:03 +0000 (15:14 +0200)
committerNicholas Clark <nick@ccl4.org>
Tue, 10 Sep 2013 08:48:23 +0000 (10:48 +0200)
commit32ce4ca8a86b312fb4b0601891645e64dfb0cad2
treec5db343028056c214a753e0af0d5faa63fc12e28
parentfb1c5e878bf0315522026933566ec8a1a5ccdff8
Simplify the conditional logic for COW_REFCNT in Devel::Peek's test.

Instead of having a comment on each COW_REFCNT line to skip the line on
earlier versions, move the skip into the existing code which skips the same
lines on current versions built without COW.
ext/Devel-Peek/t/Peek.t