Acme-AwesomeQuotes

 view release on metacpan or  search on metacpan

lib/Acme/AwesomeQuotes.pm  view on Meta::CPAN

=item *

a grave accent (or backtick, U+0060) is prepended;

=item *

a combining grave accent is added to the first letter;

=item *

a combining acute accent is added to the final letter;

=item *

an acute accent (U+00B4) is appended;

=back

In addition, leading/trailing whitespace and punctuation is stripped, and the returned string is in NFC.

Combining characters already present in the string are respected, and existing initial/terminal grave/acute accents will not be doubled.  However, in cases where both a grave and acute accent may be applied – such as if the initial letter has an ac...

=for Pod::Coverage checkstring

=head1 LIMITATIONS

=over 4

=item *

N.B. that the first and last characters of the supplied string must be I<letters>; leading/trailing whitespace and punctuation will be stripped, and if the resulting first/last character is not a letter an exception will be raised.  Letters may be fr...

=item *

The returned string is in NFC; combining accents will therefore occur as separate characters only if there is no code point for the corresponding character+accent.

=item *

A string that is already in `àwesome quoteś´ cannot be made I<more> awesome by calling the function on it repeatedly. :)

=back

=head1 BUGS

None known, doubtless many undiscovered.

=head1 SEE ALSO

Acme::LeetSpeak L<http://search.cpan.org/~jmadler/Acme-LeetSpeak-0.01/lib/Acme/LeetSpeak.pm>

=head1 ACKNOWLEDGEMENTS

Thanks to the regulars on L<irc://irc.perl.org/perl> for the idea.  Thanks to Ævar Arnfjörð Bjarmason (avar, L<http://search.cpan.org/~avar/>) for helpful suggestions on packaging.

=head1 AUTHOR

Marcus Smith <carwash@cpan.org>

=head1 COPYRIGHT AND LICENSE

This software is copyright (c) 2010 by Marcus Smith.

This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.

=cut



( run in 1.131 second using v1.01-cache-2.11-cpan-b16cb0d3907 )