NAME
Acme::MetaSyntactic::RefactorCode - Theme and refactor your code!
VERSION
Version 0.05
SYNOPSIS
Acme::MetaSyntactic::RefactorCode helps you give signicant variable names to your code.
The default (loremipsum theme) way to use it is:
perl -MAcme::MetaSyntactic::RefactorCode script.pl > loremipsumed.pl
Or the themed version:
perl -MAcme::MetaSyntactic::RefactorCode script.pl -t theme > themed.pl
Take special care to choose a theme that has sufficient entries to refactor your code. Use this one-liner to get available themes:
perl -MAcme::MetaSyntactic -e 'print join "\n",Acme::MetaSyntactic->themes'
ABSTRACT
Make your code special, using the theme of your choice available from the great Acme::MetaSyntactic
by BooK.
import
This function is automatically called at import time, and uses O::Deobfuscate and B::Deobfuscate::Dict::RefactorCode to rewrite the code with the theme specified with the -t
CLI option.
AUTHOR
Jerome Fenal, <jfenal@free.fr>
BUGS
AMSRC will explode if using a theme that has no sufficient entries for your code.
B::Deobfuscate seems also to have problems with big code chunks (tried it on the future 0.02 Solaris::Disk::SVM), some methods calls not being translated.
Please report any other bugs or feature requests to bug-acme-metasyntactic-refactorcode@rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Acme-MetaSyntactic-RefactorCode. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
ACKNOWLEDGEMENTS
Heavily (completely) based on the idea and the code of Acme::Floral by Joshua b. Jore.
This module could not have happened without the Acme::MetaSyntactic module by Philippe "BooK" Bruhat.
Many thanks to Adriano Ferreira who sent a patch to make AMSRC work under newer version of B::Deobfuscate. See RT at http://rt.cpan.org/Ticket/Display.html?id=23700 for full details.
COPYRIGHT & LICENSE
Copyright 2005 Jérôme Fenal, All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 96:
Non-ASCII character seen before =encoding in 'Jérôme'. Assuming CP1252