[Catalyst] [OT] Could a Linux user try this for me

Andy Grundman andy at hybridized.org
Mon Sep 19 16:30:26 CEST 2005


Christopher H. Laco wrote:
> Andy Grundman wrote:
> 
>> # catalyst.pl Handel
>> ...
>> # cd Handel
>> # script/handel_create.pl Handel::Scaffold dbi:SQLite:handel.db
>> created 
>> "/home/andy/dev/Catalyst/examples/Handel/script/../lib/Handel/V/TT.pm"
>> created "/home/andy/dev/Catalyst/examples/Handel/script/../t/V/TT.t"
>> created "/home/andy/dev/Catalyst/examples/Handel/script/../root/cart"
>> created "/home/andy/dev/Catalyst/examples/Handel/script/../root/orders"
>> created "/home/andy/dev/Catalyst/examples/Handel/script/../root/checkout"
>>
>> -Andy
> 
> 
> First, thanks for the help. :-)
> 
> Second, I have two theories about this one. It's almost like render_file 
> isn't finding the content in __DATA__ to write...
> 
> I wonder it it's the fact that I have __END__ with POD in there as well...
> 
> or
> 
> The dist (like always) is created on my XP laptop. The files are CRLF, 
> which may be ticking off Linux/perl in some fashion when it's trying to 
> find __DATA__
> 
> If it's the latter, I'm kind of shocked that it works just dandy on 
> FreeBSD, but I've seen stranger things. Maybe  I never noticed because 
> I'm always running and installing from SVN, which does a 
> eof-style=native...thus avoiding the __DATA__ problem.
> 
> 
> Andy/Bernard, Could you try something else for me?
> Did you install via the CPAN dist for 0.20?
> 
> Could you try getting a copy from SVN 
> (http://handelframework.com/svn/CPAN/Handel/tags/0.20/) and make/make 
> installing that verson instead? I think this would ensure that your 
> installed copy of Handel is using your native line feeds.
> 
> Then try running Handel::Scaffold again?

Your theory was right on the money.  The svn copy worked fine. :)  You 
should build the dist on your FreeBSD box probably so it doesn't use CRLF.

created 
"/home/andy/dev/Catalyst/examples/Handel/script/../lib/Handel/V/TT.pm"
created "/home/andy/dev/Catalyst/examples/Handel/script/../t/V/TT.t"
created 
"/home/andy/dev/Catalyst/examples/Handel/script/../lib/Handel/M/Cart.pm"
created "/home/andy/dev/Catalyst/examples/Handel/script/../t/M/Cart.t"
created 
"/home/andy/dev/Catalyst/examples/Handel/script/../lib/Handel/M/Orders.pm"
created "/home/andy/dev/Catalyst/examples/Handel/script/../t/M/Orders.t"
created "/home/andy/dev/Catalyst/examples/Handel/script/../root/cart"
created 
"/home/andy/dev/Catalyst/examples/Handel/script/../lib/Handel/C/Cart.pm"
created 
"/home/andy/dev/Catalyst/examples/Handel/script/../root/cart/view.tt"
created 
"/home/andy/dev/Catalyst/examples/Handel/script/../root/cart/list.tt"
created "/home/andy/dev/Catalyst/examples/Handel/script/../t/C/Cart.t"
created "/home/andy/dev/Catalyst/examples/Handel/script/../root/orders"
created 
"/home/andy/dev/Catalyst/examples/Handel/script/../lib/Handel/C/Orders.pm"
created 
"/home/andy/dev/Catalyst/examples/Handel/script/../root/orders/list.tt"
created 
"/home/andy/dev/Catalyst/examples/Handel/script/../root/orders/view.tt"
created "/home/andy/dev/Catalyst/examples/Handel/script/../t/C/Orders.t"
created "/home/andy/dev/Catalyst/examples/Handel/script/../root/checkout"
created 
"/home/andy/dev/Catalyst/examples/Handel/script/../lib/Handel/C/Checkout.pm"
created 
"/home/andy/dev/Catalyst/examples/Handel/script/../root/checkout/edit.tt"
created 
"/home/andy/dev/Catalyst/examples/Handel/script/../root/checkout/preview.tt"
created 
"/home/andy/dev/Catalyst/examples/Handel/script/../root/checkout/payment.tt"
created 
"/home/andy/dev/Catalyst/examples/Handel/script/../root/checkout/complete.tt"
created "/home/andy/dev/Catalyst/examples/Handel/script/../t/C/Checkout.t"



More information about the Catalyst mailing list