On Sep 13, 2012, at 6:30 AM, Pedro Melo wrote: > Hi, > > On Thu, Sep 13, 2012 at 4:02 AM, Jonathan Swartz <swa...@pobox.com> wrote: >> File under "ought to have been written ten years ago", but oh well: >> >> https://metacpan.org/module/masontidy >> >> masontidy tidies the Perl code embedded in Mason components. It works with >> %-lines, <% %> tags, and the various Perl blocks, in both Mason 1 and Mason >> 2 syntax. > > Cool. I was using a very large hack to extract the code and feed it > into perltidy. > > Now we only need a Code::TidyAll plugin ;) > > Will test and report back.
You mean this? :) https://metacpan.org/module/Code::TidyAll::Plugin::MasonTidy Look forward to your feedback! Jon ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users