The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

mimic - Replace some characters with their Unicode homoglyphs

VERSION

This document describes version 0.01 of mimic (from Perl distribution App-mimic), released on 2015-10-25.

SYNOPSIS

Usage:

 % mimic --list           # Show all of the homoglyphs
 % mimic --explain=o      # What crazy things can we do with this letter?
 % mimic --me-harder 100  # Type some lines in and mess with every single char
 % mimic --reverse        # Undo the mayhem. Boooring.
 % cat somefile | mimic   # Pipe some source through at 1%

 # Turn up the knob and save the results
 % cat somefile | mimic --me-harder 25 > mimicked

 # Find out exactly where we broke the source
 % cat mimicked | mimic --check | less

 # Now we know the source is broken, so fix it
 % cat mimicked | mimic --reverse > fixedfile

 # This should output nothing (i.e. the files are the same)
 % diff fixedfile somefile

DESCRIPTION

This is a Perl port of Python's mimic (https://github.com/reinderien/mimic).

SEE ALSO

Unicode::Homoglyph

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/App-mimic.

SOURCE

Source repository is at https://github.com/perlancar/perl-App-mimic.

BUGS

Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=App-mimic

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 by perlancar@cpan.org.

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