use strict; use warnings; use HTML::Truncate; my $snippet = <<""; First a technological update - The code that drives this site is available for free on GitHub. I've just merged in a rather complex change to create proper shelfmark sorting, fixing things like numbers-stored-as-strings and handling roman numerals. Two problems yet unfixed are Fonds P.I.O, with the middle "I" reading as a roman numeral, and Arch.Cap.S.Pietro where sub-set "I" is read as roman 1 and everything gets confused.
my $ht = HTML::Truncate->new(); $ht->chars(100); print $ht->truncate($snippet), $/; __END__ First a technological update - The code that drives this site is available for free on GitHub. I've… ####
First a technological update - The code that drives this site is available for free on GitHub. I've…