TeX::Hyphen
This module uses TeX style hyphenation patterns to find places in words to hyphenate. You can supply any hyphenation file you like. The use goes like this
use TeX::Hyphen; my $hyp = new TeX::Hyphen 'dehyphn.tex', 'style' => 'german'; my $word = "representation"; my @points = $hyp->hyphenate($word);
Download TeX-Hyphen-1.18.tar.gz and check the man page.
Author
Copyright: (c) 1997--2016 Jan Pazdziora.
All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.