```{index} single: cowrefcnt_max (B::COW) ``` ```{index} single: B::COW::cowrefcnt_max ``` # cowrefcnt_max The largest copy-on-write share count. ## Synopsis ```perl 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.