The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Text::Info::Utils - Utility methods for Text::Info.

METHODS

CLD()

Returns a Lingua::Identify::CLD instance.

text2words( $text )

Returns an array reference of the words in the specified $text.

trim( $text )

Removes leading and trailing spaces from $text.

squish( $text )

Squishes the $text, ie. replaces all double spaces with one space.