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.06.tar.gz 0000003732 3.64 KB
cpanspec.yml 0000000469 469 Bytes
perl-Text-Truncate.changes 0000000345 345 Bytes
perl-Text-Truncate.spec 0000002109 2.06 KB
Latest Revision
Stephan Kulow's avatar Stephan Kulow (coolo) accepted request 297365 from Stephan Kulow's avatar Stephan Kulow (coolo) (revision 2)
automatic update
Comments 0
openSUSE Build Service is sponsored by