Also it looks like there is a Test::Class dependency that was undeclared.
I noticed a couple if things when I got it installed and tried to run it:
1. I have a (bad) habit of having %perl blocks that are not
freestanding. In otherwords, there is a perl section that has a condition
or the start of a block in it, then there is some HTML outside of a perl
block (possibly with inline Mason), then there is another perl section (or
an inline Mason) that closes the block. I understand that this is not
supported, but I am not sure how to tell Mason::Tidy to permit this (bad)
habit.
2. When running masontidy on a sample file I get a lot of output like
"Ignoring -b; you may not specify a destination stream and -b together".
Not sure what that means, but I assume it is something from perltidy.
3. When building on a Windows machine the generated .bat file works
fine, but the generated native perl has the wrong #! line in it. Not sure
if there is a way to fix that, but if there is then it would work right
when called from a Cygwin shell on Windows (I use that for a development
environment sometimes).
Thanks for all your hard work!
On Fri, Sep 14, 2012 at 2:35 PM, Shane McCarron <halindr...@gmail.com>wrote:
> It looks as if there is a Capture::Tiny prerequisite missing from the
> package?
>
>
> On Fri, Sep 14, 2012 at 1:06 AM, Pedro Melo <m...@simplicidade.org> wrote:
>
>> Hi,
>>
>> On Fri, Sep 14, 2012 at 4:23 AM, Jonathan Swartz <swa...@pobox.com>
>> wrote:
>> > On Sep 13, 2012, at 9:49 AM, Pedro Melo wrote:
>> >> On Thu, Sep 13, 2012 at 4:02 AM, Jonathan Swartz <swa...@pobox.com>
>> wrote:
>> >>> masontidy tidies the Perl code embedded in Mason components. It works
>> with
>> >>> See below for an example. Please give it a try (make sure you have
>> backup!)
>> >>> and let me know of problems.
>> >>
>> >> Well, the test suite will fail if you (like me) have a global
>> .perltidyrc
>> >>
>> >> Not sure if there is a switch to ask Perl::Tidy to disable the global
>> >> rc file though.
>> >>
>> >
>> > Where was your .perltidyrc? I couldn't reproduce this. It looks for
>> ~/.perltidyrc in the perltidy script, but masontidy goes through the
>> Perl::Tidy::perltidy API.
>>
>> ~/.perltidyrc….
>>
>> I try to install Mason::Tidy and it failled. I move the file to the
>> side, and the test suite passes.
>>
>> Bye,
>> --
>> Pedro Melo
>> @pedromelo
>> http://www.simplicidade.org/
>> http://about.me/melo
>> xmpp:m...@simplicidade.org
>> mailto:m...@simplicidade.org
>>
>>
>> ------------------------------------------------------------------------------
>> Got visibility?
>> Most devs has no idea what their production app looks like.
>> Find out how fast your code is with AppDynamics Lite.
>> http://ad.doubleclick.net/clk;262219671;13503038;y?
>> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
>> _______________________________________________
>> Mason-users mailing list
>> Mason-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mason-users
>>
>
>
>
> --
> Shane McCarron
> halindr...@gmail.com
>
--
Shane McCarron
halindr...@gmail.com
------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users