Re: [Catalyst] testing catalyst app - need context

2009-03-01 Thread Jason Galea
Hi Kate, have a look at http://search.cpan.org/~jkutej/Catalyst-Plugin-CommandLine-0.05/lib/Catalyst/Plugin/CommandLine.pm I've only used it once or twice and I don't know if it's considered "best practice" or not but it worked for me.. (I wanted easy access to Catalyst app config) cheers,

[Catalyst] testing catalyst app - need context

2009-03-01 Thread Kate Yoak
Hi there, Here is a newbie question: I like to test my functionality in bits and pieces as I write it. How do I go about getting myself the context object in a test script? For example, one of the tests catalyst installs is t/model_App.t where it loads the model. I'd love to then be able to u

[Catalyst] Re: PathPart("") v PathPart compared with Path("") v Path

2009-03-01 Thread Aristotle Pagaltzis
* J. Shirley [2009-03-01 17:30]: > If Chained(...) starts accepting additional arguments, I'd > prefer it to bind to multiple upstream points. Ugh. I *like* the fact that dispatch forms a tree, not a graph. Regards, -- Aristotle Pagaltzis // _

Re: [Catalyst] Re: PathPart("") v PathPart compared with Path("") v Path

2009-03-01 Thread J. Shirley
On Sun, Mar 1, 2009 at 6:52 AM, Aristotle Pagaltzis wrote: > * Tomas Doran [2009-02-28 23:40]: > > We should either allow "PathPart" to work like "Path", or, if > > there is good reason why it needs to be "PathPart('')" (which I > > can't think of, given we have : Local), then "Path" should be >

[Catalyst] Re: PathPart("") v PathPart compared with Path("") v Path

2009-03-01 Thread Aristotle Pagaltzis
* Tomas Doran [2009-02-28 23:40]: > We should either allow "PathPart" to work like "Path", or, if > there is good reason why it needs to be "PathPart('')" (which I > can't think of, given we have : Local), then "Path" should be > deprecated to maintain consistency. It seems to me that `Path` and

Re: [Catalyst] Advent calendar

2009-03-01 Thread Dan Dascalescu
>> I'd like to suggest hosting the Advent Calendar articles on the Catalyst >> Wiki: http://dev.catalyst.perl.org/wiki/adventcalendararticles > > When you have a project with an internet presence, and you don't have time to > do a proper job, you put up a wiki and hack it into doing what you want.