Acme-Indent Version 0.01
Acme::Indent - Proper indentation for multi-line strings
SYNOPSIS
use Acme::Indent qw(ai);
my $mini_prog = ai(q^
my $token = 'B';
print "Begin test $token\n";
my $ph = {a => 'abc', z => 'xyz'};
my @list = qw(a r z);
while (@list) {
my $key = shift @list;
if ($ph->{$key})) {
print $ph->{$key}, "\n";
}
}
$token = 'E';
print "End test $token\n";
^);
print "Mini-Prog:\n";
print "----+----1----+----2----+----3----+----4----+----5----+----6\n";
print $mini_prog;
print "----+----1----+----2----+----3----+----4----+----5----+----6\n";
INSTALLATION
To install this module, run the following commands:
perl Makefile.PL
make
make test
make install
SUPPORT AND DOCUMENTATION
After installing, you can find documentation for this module with the
perldoc command.
perldoc Acme::Indent
You can also look for information at:
RT, CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Acme-Indent
AnnoCPAN, Annotated CPAN documentation
http://annocpan.org/dist/Acme-Indent
CPAN Ratings
http://cpanratings.perl.org/d/Acme-Indent
Search CPAN
http://search.cpan.org/dist/Acme-Indent/
AUTHOR
Klaus Eichner <klaus03@gmail.com>
COPYRIGHT AND LICENSE
Copyright (C) 2009-2011 by Klaus Eichner
All rights reserved. This program is free software; you can redistribute
it and/or modify it under the terms of the artistic license 2.0,
see http://www.opensource.org/licenses/artistic-license-2.0.php