gitpan/Text-Hyphen — pull request #1 by wangxiaomo (2012-07-30 04:45:04+00:00)
Title: modified Text::Hyphen's hyphenate function's pod. 

return wantarray? @pieces:join($delim, @pieces);

wantarray with print will return a list. not a scalar value.

change
print $hyphenator->hyphenate('representation');
to
print scalar($hyphenator->hyphenate('representation'));