On Fri, 2 Jul 2021 11:24:34 +0100 Neil Bowers <neilb@neilb.org> wrote: > It would be very useful if this change also provided a `width` > function, as a sister to `length`. > > There are many CPAN modules that generate tables, columnar output, > etc, which would benefit from such a function. It would be a pain to > get this completely right, and keep it right with new emojis every > year, but it would be a good Unicode feature to have in Perl’s > toolbox. I too have some precedent here: https://metacpan.org/pod/Tickit::Utils#textwidth -- Paul "LeoNerd" Evans leonerd@leonerd.org.uk | https://metacpan.org/author/PEVANS http://www.leonerd.org.uk/ | https://www.tindie.com/stores/leonerd/Thread Previous | Thread Next