Use Perl::Tidy to tidy dump of generate source code if we can.
authorDave Rolsky <autarch@urth.org>
Wed, 15 Sep 2010 02:04:56 +0000 (21:04 -0500)
committerDave Rolsky <autarch@urth.org>
Wed, 15 Sep 2010 02:04:56 +0000 (21:04 -0500)
commitd2d9edc060207e798deae747ae9c57abca6fc2b0
tree6b88a32bdb29d8f70cd6abf5625ae4509547c8ef
parent2440993d9723281b7f3e8cfd0b54e9dc7bfe1944
Use Perl::Tidy to tidy dump of generate source code if we can.

Also check source dumping env var each time we generate a sub. This makes it
possible to turn it on selectively, at the cost of a small speed hit (which I
really doubt matters next to the cost of eval'ing a block of code!)
lib/Class/MOP/Method/Generated.pm
perltidyrc [new file with mode: 0644]