Perl module with simple string truncating routine

Edit Package perl-Text-Truncate
http://search.cpan.org/dist/Text-Truncate

This is a simple, no-brainer subroutine to truncate a string and add an
optional cutoff marker (defaults to ``...'').
(Yes, this is a really brain-dead sort of thing to make a module out of,
but then again, I use it so often that it might as well be in a module.)

Refresh
Refresh
Source Files
Filename Size Changed
Text-Truncate-1.04.tar.gz 0000003984 3.89 KB
perl-Text-Truncate.changes 0000000153 153 Bytes
perl-Text-Truncate.spec 0000001482 1.45 KB
Revision 1 (latest revision is 2)
Pascal Bleser's avatar Pascal Bleser (pbleser) committed (revision 1)
1.04
Comments 0
openSUSE Build Service is sponsored by