http://www.perlmonks.org?node_id=1117990


in reply to Re^2: [OT] Stats problem
in thread [OT] Stats problem

If you don't mind the debug mode speed hit, you could use an alternate memcpy() and friends.

The idea being, the memory functions will check the values they're copying, and assert that they're not writing the telltale value, since it should never be used as a value in your program.