Nick Patch > Text-Ligature-0.02 > Text::Ligature

Download:
Text-Ligature-0.02.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.02   Source  

NAME ^

Text::Ligature - Replace sequences of characters with typographic ligatures

VERSION ^

This document describes Text::Ligature version 0.02.

SYNOPSIS ^

    use Text::Ligature qw( :all );

    to_ligatures('offloading floral offices refines effectiveness');
    # returns: offloading floral offices refines effectiveness

    from_ligatures('offloading floral offices refines effectiveness');
    # returns: offloading floral offices refines effectiveness

DESCRIPTION ^

Replaces sequences of characters with corresponding typographic ligatures.

    Characters  Ligature
    ff          ff
    fi          fi
    fl          fl
    ffi         ffi
    ffl         ffl

This is an early release. Specifying the ligatures to replace will be supported in a future version.

AUTHOR ^

Nick Patch <patch@cpan.org>

COPYRIGHT AND LICENSE ^

Copyright 2011 Nick Patch

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

syntax highlighting: