Re: [Catalyst] A Perl Message Queue?

2007-08-24 Thread Jesper Krogh
d survive a reboot of the computer without loosing messages. Jesper -- Jesper Krogh ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst

[Catalyst] A Perl Message Queue?

2007-08-23 Thread Jesper Krogh
ogram. It would be nice when you have stuff that takes longer that people usually can wait for. Jesper -- Jesper Krogh ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www

Re: [Catalyst] Reference to the connected Model::DBIC schema for testing?

2006-10-12 Thread Jesper Krogh
t though. What if you want to access the ResultSource ? Situation: I sometimes find that I need "create-logic" and I would really like to put it into the schema-definitions classes (ResultSource if I'm not wrong), but I cannot seem to get direct access to those from within Catalyst?

Re: [Catalyst] Executing external applications from catalyst.

2006-10-05 Thread Jesper Krogh
m},"$seqf"); my $cmd = join(" ",@cmd) . " 2> $seqerr > $seqout"; `$cmd`; my $stdout = read_file($seqout); my $stderr = read_file($seqerr); I can get stdout on the fly, as open FILE,"command |"; Otherwise I found that I neede the temporary files.

Re: [Catalyst] Testserver dies under IE - patch

2006-10-03 Thread Jesper Krogh
> On Tue, Oct 03, 2006 at 12:04:15PM +0200, Jesper Krogh wrote: >>> This is a small patch that makes the testserver survive Internet >>> Explorer.. >>> > > I don't use IE enough to know for sure, but lately I've fired up an > ssh tunnel (on the sa

Re: [Catalyst] Testserver dies under IE - patch

2006-10-03 Thread Jesper Krogh
ot;localhost/Unknown", + peeraddr => $iaddr ? inet_ntoa($iaddr) : "127.0.0.1/Unknown", localname => gethostbyaddr( $localiaddr, AF_INET ) || "localhost", localaddr => inet_ntoa($localiaddr) || "127.0.0.1", }; Jesper -- Je

[Catalyst] Testserver dies under IE - patch

2006-10-03 Thread Jesper Krogh
perl5/Catalyst/Engine/HTTP.pm:220) at Catalyst::Engine::HTTP::run(/usr/share/perl5/Catalyst/Engine/HTTP.pm:172) at Catalyst::run(/usr/share/perl5/Catalyst.pm:1754) at main::(./script/nzdb_server.pl:54) -- Jesper Krogh ___ List:

[Catalyst] ->render for Catalyst::View::Mason

2006-09-27 Thread Jesper Krogh
Hi all catalyst/mason users. This patch implements the ->render method on Catalyst::View::Mason (should work the excact same way as ->render on Catalyst::View::TT) my $doc = $c->view("Mason")->render($c,"/path/to/template",{arg => value}); Jesper -- Jesper

Re: [Catalyst] MSSQL and Catalyst

2006-08-26 Thread Jesper Krogh
what others are up to.) We are using the DBD::JDBC for bridging MSSQL with perl (DBIx::Class and Catalyst). As of the newest DBD::JDBC it works fine. Jesper -- Jesper Krogh, [EMAIL PROTECTED] ___ List: Catalyst@lists.rawmode.org Listinfo: http

Re: [Catalyst] Need example of Catalyst with Mason View

2006-08-13 Thread Jesper Krogh
fiddle around with $c for that. Jesper -- Jesper Krogh, [EMAIL PROTECTED] ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/

Re: [Catalyst] How to update row in Postgres when SERIAL PRIMARY KEY?

2006-07-04 Thread Jesper Krogh
#x27;CatapultDB::Quotes')->create({ id => > 'DEFAULT', quote => $c->request->params->{quote}, author => > $c->request->params->{author}, category => > $c->request->params->{category}, active => 'true' }); There is actually