Text::Slugify - create URL slugs from text
use Text::Slugify 'slugify'; my $slug = slugify("You won't believe what happened next!");
Takes a bit of text, removes puncuation, spaces and other junk to produce a string suitable for use in a URL.
If you have Text::Unaccent::PurePerl installed it will 'unaccent' accented characters instead of removing them.
There's probably a huge amount of inputs for which nothing sane is produced. Patches are welcome!
Please submit bug reports and patches to https://github.com/Text-Slugify/issues.
Robert Norris <email@example.com>
Copyright (c) 2014 Robert Norris.
This module is free software, you can redistribute it and/or modify it under the same terms as Perl itself.