cowrefcnt_max#

The largest copy-on-write share count.

Synopsis#

use B::COW qw(cowrefcnt_max);
print cowrefcnt_max(), "\n";   # 255

What you get back#

255: the count is one byte, and a string already shared that often is copied instead of shared again.