Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
t
 
 
 
 
 
 
 
 
 
 

NAME

Acme::Scrub

Build Status

SYNOPSIS

Are your Perl 6 files a mess? Have some nasty code you keep meaning to refactor but just can't find the time? Tired of looking at all those impenetrable Unicode operators? Help has arrived!

In the spirit of Perl5's Acme::Bleach;

Acme::Scrub, a quick and easy way to clean up ugly code.

USAGE

At or near the top of your file, include the line:

use Acme::Scrub;

The first time you run a script that uses Acme::Scrub, the line will be changed to:

use Acme::Scrub; # for REALLY clean code.

and all the unsightly code below that line will be cleaned up, but it will still work the same way.

WARNINGS, CAVEATS, PROVISIOS & QUID PRO QUOS

This modifies and overwrites the original file. It is highly recommended to save backup copies BEFORE using Acme::Scrub. It is possible to recover the original code... but why would you want to?

Do not use Acme::Scrub for security. See above note. You will get only slightly less effective security by putting a sticky note over your source code.

You can not have anything else on the line after

use Acme::Scrub;

no spaces, no comments. Acme::Scrub will add it's own comment to the line, and it is somewhat fragile to manual edits. (Hey, if you wanted robust, why are you using an Acme module?)

BUGS

Probably.

AUTHOR

Stephen Schulze (often seen lurking on perlmonks.org and #perl6 IRC as thundergnat)

LICENSE

Licensed under The Artistic 2.0; see LICENSE.

About

For REALLY clean code.

Resources

License

Releases

No releases published

Packages

No packages published