I’ve put up a new perl module on github, Text::CharWidth::PurePerl. As the name suggests, it’s a pure-perl implementation of Text::CharWidth. I needed it to be able to ship nowrap as a script without any dependencies. Amusingly, it seems to be more correct than the “native”
It is packaged in the usual CPAN format, but I’m not currently planning on uploading it to CPAN (I don’t have a CPAN id right now). That seems like a real PITA right now, and I’m not sure if anyone else might even need it. If you do want me to go through the steps, feel free to add a comment here on the blog or over on the github issue tracker.