<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">NAME
    Text::Overflow -

SYNOPSIS
      use Text::Overflow qw(ellipsis clip);

      clip('1234567890', 6);
      #=&gt; '123456';

      clip('ďźďźďźďźďźďźďźďźďźďź', 6);
      #=&gt; 'ďźďźďź';

      ellipsis('1234567890', 6);
      #=&gt; '12345âŚ';

      ellipsis('ďźďźďźďźďźďźďźďźďźďź', 6);
      #=&gt; 'ďźďźâŚ';

DESCRIPTION
    Text::Overflow is for clipping text for a width

    Text::Overflow::vlength($string)
        Return visual width of $string.

    Text::Overflow::vtrim($string, $length, $delim)
        Trim $string to visual width specified $length including $delim

    Text::Overflow::clip($string, $length)
        Clip $string. This is same as vtrim($string, $length, "")

    Text::Overflow::ellipsis($string, $length);
        Clip and append ellipsis character. This is same as vtrim($string,
        $length, "âŚ")

AUTHOR
    cho45 &lt;cho45@lowreal.net&gt;

SEE ALSO
LICENSE
    This library is free software; you can redistribute it and/or modify it
    under the same terms as Perl itself.

</pre></body></html>