[Catalyst] Catalyst::Engine::HTTP and Expect.pm

2009-03-18 Thread Frank Wiegand
Hi, I have problems to get Expect.pm working within the builtin test server. The following code resides inside a model: use Expect; my $exp = Expect-new; $exp-log_stdout(0); $exp-spawn('ssh', '-l' = $c-config-{client}{user}, $c-config-{client}{host})

[Catalyst] Too many records returned

2009-03-18 Thread Ascii King
I have a sub that is supposed to call a record for editing if an $id parameter is specified. If no $id is given, then it is supposed to create a new record. It works fine when used to call an existing record. The problem I am having is that it is returning every record in the table associated

[Catalyst] how to authenticate using database users

2009-03-18 Thread Adam Witney
Hi, Our database uses actual database users rather than a table containing usernames and password. How would I authenticate against the database itself? The examples I have come across in the Tutorial and various Catalyst::Authentication::* modules all seem to require the presence of a

Re: [Catalyst] how to authenticate using database users

2009-03-18 Thread Michael Reddick
On Wed, Mar 18, 2009 at 10:51 AM, Adam Witney awit...@sgul.ac.uk wrote: Hi, Our database uses actual database users rather than a table containing usernames and password. Why are you doing that? -michael ___ List: Catalyst@lists.scsys.co.uk

Re: [Catalyst] how to authenticate using database users

2009-03-18 Thread Adam Witney
On 18 Mar 2009, at 16:24, Michael Reddick wrote: On Wed, Mar 18, 2009 at 10:51 AM, Adam Witney awit...@sgul.ac.uk wrote: Hi, Our database uses actual database users rather than a table containing usernames and password. Why are you doing that? The database has a row level

Re: [Catalyst] how to authenticate using database users

2009-03-18 Thread bill hauck
--- On Wed, 3/18/09, Adam Witney awit...@sgul.ac.uk wrote: From: Adam Witney awit...@sgul.ac.uk Subject: Re: [Catalyst] how to authenticate using database users To: The elegant MVC web framework catalyst@lists.scsys.co.uk Date: Wednesday, March 18, 2009, 4:33 PM On 18 Mar 2009, at 16:24,