Re: [Catalyst] London Perl tutorials - 25th 26th February 2009 - day 2 includes Cat+DBIC

2009-01-23 Thread Jonathan Rockway
* On Wed, Jan 21 2009, Robert L Cochran wrote: This is really tempting. I don't know if I can afford this one. And I would have to get to London several days before Day 1, because jet lag hits me hard. Hmm. If you are in the US, I will point out that Stonehenge often does open-enrollment Perl

Re: [Catalyst] Re: OT: Better TT pager?

2009-01-23 Thread Jesse Sheidlower
On Thu, Jan 22, 2009 at 03:48:58PM +, Oliver Charles wrote: I might as well join in with this :) Here's what we use at work: [...] Though my colleague rightly suggested we subclass Data::Page and perform the sliding window in there. This shows first page, previous page, the current page

Re: [Catalyst] Re: OT: Better TT pager?

2009-01-23 Thread Oliver Charles
On 23 Jan 2009, at 15:00, Jesse Sheidlower wrote: I like this quite a bit, more than some of the other solutions which I tried, and think I'll use this. Glad you like it :) One question, from an arithmetically-challenged one: How would I modify this to allow the user to skip by, say, tens?

Re: [Catalyst] Re: OT: Better TT pager?

2009-01-23 Thread Peter Karman
Oliver Charles wrote on 01/23/2009 01:31 PM: On 23 Jan 2009, at 15:00, Jesse Sheidlower wrote: I like this quite a bit, more than some of the other solutions which I tried, and think I'll use this. Glad you like it :) One question, from an arithmetically-challenged one: How would I

Re: [Catalyst] flexible ACL rules

2009-01-23 Thread Jason Kohles
On Jan 23, 2009, at 2:09 AM, Jens Schwarz wrote: Hi *, I have some difficulties in applying flexible rules [1] in my Catalyst app. Until now, I only used easy rules (mainly with deny_access_unless) like: deny_access_unless( /users/edit , sub{ shift-check_any_user_role(qw/admin user/) }