Re: [Catalyst] Re: Trimming and Quoting Oh My!

2007-07-25 Thread Daniel Hulme
On Wed, Jul 25, 2007 at 08:57:26AM -0400, Christopher H. Laco wrote: > The world is full of battles; this need not be one of them. But don't you see? Your "no holy wars" stance is itself a religious position. Perhaps I just don't spend enough time on Usenet, but I don't know anyone who actually *f

Re: [Catalyst] YAML Config

2007-07-24 Thread Daniel Hulme
On Tue, Jul 24, 2007 at 02:43:37PM +0100, Dave Howorth wrote: > Oleg Pronin wrote: > > Hi. > > > > I would like to use references to variables that have been defined in my > > yaml config. > > > > Something like this: > > > > var_dir: &var __path_to(var)__ > > > > log_dir: &log *var/log > >

Re: [Catalyst] iterating ResultSet in controller vs. template

2007-06-19 Thread Daniel Hulme
On Tue, Jun 19, 2007 at 03:09:29PM -0400, John Goulah wrote: > You are correct (and I did explain that as well in my original post that was > happening). So the question is , how can I make the same call and access > the data in both places? It seems silly that I have to make the call > without b

Re: [Catalyst] session issue

2007-05-24 Thread Daniel Hulme
On Thu, May 24, 2007 at 05:33:16PM +1000, Gaurav Talwar wrote: > i am working on a website using catalyst. Users are required to fill > some forms which are 4-5 pages long. While filling the form he may opt > to go to the previous page to edit details he has previously filled.if > he goes back to t

Re: [Catalyst] [OT] sshd (was Re: Encrypt /Decrypt URI)

2007-05-19 Thread Daniel Hulme
On Sat, May 19, 2007 at 09:11:27AM -0500, Dave Rolsky wrote: > On Sat, 19 May 2007, Daniel Hulme wrote: > >Not really. I run sshd on my home box on a non-default port > Check out fail2ban. It can be configured to block an IP with firewall > rules after it fails to login via SSH a

Re: [Catalyst] Re: Encrypt /Decrypt URI

2007-05-19 Thread Daniel Hulme
On Sat, May 19, 2007 at 12:24:07PM +0200, A. Pagaltzis wrote: > all you need. F.ex., it would be dumb to run sshd on a port other > than 22, hoping that no one finds it. But if you keep track of Not really. I run sshd on my home box on a non-default port, because I was fed up of worms running thei

Re: [Catalyst] Encrypt /Decrypt URI

2007-05-18 Thread Daniel Hulme
On Fri, May 18, 2007 at 08:29:18AM +0530, Harshal Shah wrote: > just tryin to hide URLs from users .. That's not good enough. Most web browsers will show the page title as well as the URI in lists like tab lists and history. You also need to cipher the tag on every page, to ensure your app has no

Re: [Catalyst] catalyst tutorial: MyAppDB/Book.pm vs. MyApp/Model/Book.pm

2007-05-15 Thread Daniel Hulme
On Tue, May 15, 2007 at 12:37:57PM -0700, mla wrote: > Daniel Hulme wrote: > >On Tue, May 15, 2007 at 01:24:17PM +0100, Matt S Trout wrote: > >>On Tue, May 15, 2007 at 03:47:57AM -0700, mla wrote: > >>>I like how if you fetch columns that don't exist in the tabl

Re: [Catalyst] catalyst tutorial: MyAppDB/Book.pm vs. MyApp/Model/Book.pm

2007-05-15 Thread Daniel Hulme
On Tue, May 15, 2007 at 01:24:17PM +0100, Matt S Trout wrote: > On Tue, May 15, 2007 at 03:47:57AM -0700, mla wrote: > > I like how if you fetch columns that don't exist in the table > > the object becomes read-only by default. > > That's neat, although I prefer tools that presume I know that I'm

Re: [Catalyst] Re: Shoot out -- Catalyst / RoR / Other MVC apps --

2007-05-10 Thread Daniel Hulme
On Thu, May 10, 2007 at 09:00:07PM +0200, A. Pagaltzis wrote: > * Daniel Hulme <[EMAIL PROTECTED]> [2007-05-10 20:45]: > > If you'd googled rather than hosting you'd have found that > > Anthony meant to say cpantools.com. > > Condescending much? No, but on

Re: [Catalyst] Re: Shoot out -- Catalyst / RoR / Other MVC apps --

2007-05-10 Thread Daniel Hulme
On Thu, May 10, 2007 at 08:19:38PM +0200, A. Pagaltzis wrote: > * Anthony Gardner <[EMAIL PROTECTED]> [2007-05-10 18:15]: > > Esp now as I've discovered cpantools.org which is great for > > showing up packages that otherwise I'd never have come across. > > $ host cpantools.org > Host cpant

Re: [Catalyst] How to pass vars to modules

2007-04-27 Thread Daniel Hulme
On Fri, Apr 27, 2007 at 05:06:40PM +0100, RA Jones wrote: > Dave Rolsky wrote: > >Where in the tutorial does it suggest you load non-Catalyst modules > >like this? > > > > > Sorry, it wasn't the tutorial, but the catalyst POD under the > Description section: > > If your plugin starts with a name

Re: [Catalyst] (no subject)

2007-03-31 Thread Daniel Hulme
On Sat, Mar 31, 2007 at 04:25:58PM +0200, Jack Lauritsen wrote: > Sorry to have asked, > I found what I needed at > http://search.cpan.org/~jrobinson/DBIx-Class-0.07005/lib/DBIx/Class/ResultSet.pm#find_or_create > > Here, I'll give myself a combined STFW&&RTFM... Surely you'd be better off with ST

Re: [Catalyst] Why I chose Perl and Catalyst

2007-02-13 Thread Daniel Hulme
> Any insight or advice as to why would one prefer a Perl stack over a > Java or .NET one? For me, one of Perl's big wins, particularly in an enterprise situation, is testing. Test::More is still the easiest-to-use testing framework I've experienced. Adding tests is easy, automating tests is easy,

Re: [Catalyst] Difference in running application via "perl -d" vs command line

2007-02-05 Thread Daniel Hulme
On Mon, Feb 05, 2007 at 03:45:26PM -0500, Lampert, Hugh wrote: > whistles. First I tried putting together an environment that would work > well with CPAN but after getting lost in a lot of hairy NMAKE errors I > dumped that plan. Next I decided to use the PPM repository and the This probably doe

Re: [Catalyst] CALLING FOR VCS AND EDITOR REGEXES

2007-01-29 Thread Daniel Hulme
On Mon, Jan 29, 2007 at 02:02:00PM +, Matt S Trout wrote: > also look for *.pmc but I sincerely doubt it'll ever expect '.bak' to > mean 'perl module' (though trying to figure out plausible backronyms > that could result in that looks like it might be fun :) Belgian Army Knife. -- "I thi