[Catalyst-dev] Catalyst::Manual Questions For The Group
Devin Austin
devin.austin at gmail.com
Sun Nov 15 19:37:55 GMT 2009
On Sun, Nov 15, 2009 at 12:29 PM, Kieren Diment <diment at gmail.com> wrote:
>
> On 16/11/2009, at 1:48 AM, hkclark at gmail.com wrote:
>
> Hi Everyone,
>>
>> I have been working on resolving various Catalyst::Manual tickets and
>> getting a long-overdue release of the manual & tutorial out. I wanted to
>> get some input on a few of the tickets if i could:
>>
>> 1) #47363: Remove References to Old/New Ways of Doing Things
>> http://rt.cpan.org/Public/Bug/Display.html?id=3D47363
>>
>> I took a look at some of these but I wasn't sure if I should start
>> changing
>> things or not. It seems that every time I don't cover variation people
>> might run into if they aren't on the latest/recommended versions, then
>> they
>> get "stuck" and frustrated. I agree that the "Note that if you are using
>> version XX of XX you ..." stuff can be distracting, but it seems like a
>> necessary evil (unless the issue is *really* old... I do try to eventual=
ly
>> prune those out). Thoughts?
>>
>>
>
> I agree with Kiffin. Ideally there would be an appendix with some of the
> more relevant ways of dealing with things listed in there.
>
>
>> 2) #31164: Catalyst::Manual::Cookbook mod_perl configuration incorrect?
>> http://rt.cpan.org/Public/Bug/Display.html?id=3D31164
>>
>
> One of the problems with mod_perl is that its sufficiently big and complex
> enough that it's not trivial to have a spare mod_perl server lying around.
> Maybe someone who has one anyway can confirm this
>
>
>> I'm not really a mod_perl user. Can anyone confirm if these changes are
>> correct? Here is the patch:
>>
>> --- catalyst_manual_cookbook.pod.orig 2007-12-03 12:15:11.000000000 +0000
>> +++ catalyst_manual_cookbook.pod 2007-12-03 12:16:05.000000000 +0000
>> @@ -1483,8 +1483,10 @@
>> when run within mod_perl. This makes the configuration extremely easy.
>> Here is a basic Apache 2 configuration.
>>
>> - PerlSwitches -I/var/www/MyApp/lib
>> - PerlModule MyApp
>> + <Perl>
>> + use lib '/var/www/MyApp/lib';
>> + use MyApp;
>> + </Perl>
>>
>> <Location />
>> SetHandler modperl
>>
>> 3) #50953: missing information: action with various args numbers
>> http://rt.cpan.org/Public/Bug/Display.html?id=3D50953
>>
>> User asks "what If I want to accept with 0, 1 or 2 but not anymore
>> arguments
>> than that?"... my understanding is that you can specify an exact number =
of
>> :Args or omit it for any number, but not do a range of acceptable args.
>> Can
>> anyone confirm if this is correct?
>>
>>
> You can only have varying URL Args for things at the end of the chain, ki=
nd
> of by definition, so this is the :Args [nothing] use case. Then you'd ne=
ed
> to check length of the $c->req->args array ref manually in your controll=
er
> if you only wanted a certain range of trailing args.
>
> _______________________________________________
> Catalyst-dev mailing list
> Catalyst-dev at lists.scsys.co.uk
> http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst-dev
>
This is pretty much purely cosmetic, but I think it'd be great if we could
start putting $c->stash examples in as $c->stash ( key =3D> 'value' ); as it
looks a lot nicer than $c->stash->{key} =3D 'value'. Just my $0.02 :-)
-- =
Devin Austin
http://www.codedright.net
9702906669 - Cell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst-dev/attachments/20091115/7=
3ff3988/attachment.htm
More information about the Catalyst-dev
mailing list