X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=examples%2FREADME;fp=examples%2FREADME;h=ed2465098c93692eebbd8fe2dd5473d6ca9c89fc;hb=b2d8cef8551aa63c2718732e53392e7ebdd6c75f;hp=0000000000000000000000000000000000000000;hpb=6db2d2d637f1770091b91e756590864baa1ad366;p=perltidy.git diff --git a/examples/README b/examples/README new file mode 100644 index 0000000..ed24650 --- /dev/null +++ b/examples/README @@ -0,0 +1,24 @@ +These are some files to test and illustrate Perl::Tidy + +testfa.t - test with input from file and output to array +testff.t - test with input from file and output to file + +ex_mp.pl - example from Perl::Tidy(3) man page +lextest - needed by testfa. and testff.t + +bbtidy.pl - a main program which works as a filter under BBEdit+MacPerl + +pt.bat - sample batch file for msdos installations + (change name to perltidy.bat) + +perltidyrc_dump.pl - a program to dump a .perltidyrc file + see comments inside for usage + +Some examples of a user defined callback object to parse perl: +-------------------------------------------------------------- +find_naughty.pl - example using Perl::Tidy to find $`, $&, $' variables +perlcomment.pl - example using Perl::Tidy to reformat comments +perllinetype.pl - example using Perl::Tidy to display types of lines +perlmask.pl - example using Perl::Tidy to create a masked file +perlxmltok.pl - example using Perl::Tidy to write a script in xml format +