Possible Duplicate:
Line break in lines with colons
I have Perl package name defined as command:
\newcommand{\myperlpackage}{\texttt{XXXXX::YYYYY::ZZZZZ}}
How can I tell LaTeX to hyphen package name after double colon but without any hyphen char eg.
XXXXX::- YYYYY::ZZZZZ
should be
XXXXX:: YYYYY::ZZZZZ