foreign
key specs should look something like this (cutting and pasting at random
one that DBIx::Class/SQL::Translator has generated from one of my
schema):
CONSTRAINT `service_fk_customer` FOREIGN KEY (`customer`) REFERENCES `customer`
(`customer_id`) ON DELETE CASCADE ON UPDATE CASCADE,
--
Jon
Hi Matt,
Declaration/disclaimer - I might personally benefit from this if you use
it.
If you use promo code CATLIST1 you should get $50.00 off Dreamhost
hosting in the first year.
Entirely up to you.
Regards,
--
Jon
On Thu, 2007-08-09 at 15:01 +0900, Matt Rosin wrote:
Thanks
for the pre-built components.
As someone who avoids writing javascript as much as possible, I've found
YUI very tolerable.
--
Jon
On Fri, 2007-08-03 at 11:09 +0200, Hartmaier Alexander wrote:
Hi Octavian!
They all have nothing to do with either the template language or the web
framework.
I
;
die Failed to start test server if $i == $wait_secs;
sleep(1);
}
--
Jon
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst
of
Perl if you had the mind to. I haven't come across an equivalent in
Perl.
--
Jon
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst
} = something.
What happens if an error occurs with your DBIC schema manipulation -
does it bypass the setting of the template?
HTH.
--
Jon
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable
,
and that seems to clean up nicely.
Bit like killing a vampire I guess - have to use exactly the right
weapon or it just won't die.
Thanks for you help.
--
Jon
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo
hitting this type of problem, yes?
--
Jon
___
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/
Hi Andy,
On Thu, 2007-05-24 at 00:35 -0400, Andy Grundman wrote:
On May 24, 2007, at 12:03 AM, Jon Schutz wrote:
I am using Catalyst::Engine::HTTP::POE in a test harness; when the
tests
complete, I would like to gracefully terminate all child processes
that
C::E::HTTP::POE starts
-up.
So, the site's not perfect (whose is?), but it is relevant and
informative.
Link on! I say.
--
Jon
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com
).
--
Jon
___
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/
started OK, but on the home page it came up with the
warning:
read_file '/users/jon/public_html/WIAB/trunk/WIAB/t/content/index.pod' -
sysopen: No such file or directory
at /users/jon/public_html/WIAB/trunk/WIAB/script/../lib/WIAB/Model/Content.pm
line 43
Guess I'd better read the docs now!
HTH
After that all started OK, but on the home page it came up with the
warning:
read_file '/users/jon/public_html/WIAB/trunk/WIAB/t/content/index.pod' -
sysopen: No such file or directory
at /users/jon/public_html/WIAB/trunk/WIAB/script/../lib/WIAB/Model/Content.pm
line 43
Guess I'd
How about this:
m!^training/webcasts/webcast_data/(\d+)/(index.html|$)!
On Thu, 2007-03-01 at 14:51 -0800, Bill Moseley wrote:
I want to match these two (not using Chained, btw):
/training/webcasts/webcast_data/186/
/training/webcasts/webcast_data/186/index.html
But not this:
I had to declare all my subs like this:
sub add : XMLRPC('add') {
...
}
Without explicitly appending ('add'), it wouldn't work... which is not
what the pod says.
HTH.
--
Jon
On Fri, 2007-02-16 at 10:53 -0300, Patricio A. Bruna wrote:
im trying to start with Catalyst::Plugin::XMLRPC but im
finally done that - here it is for anyone who has an interest:
Perl + DBIx::Class + Catalyst - Our Technology Choice
http://software-reviews.summer-snowstorm.com/content/view/17/27/
--
Jon
___
List: Catalyst@lists.rawmode.org
Listinfo: http
On Wed, 2006-12-27 at 11:30 -0500, Kenny Gatdula wrote:
Hi,
I agree with you that a table of contents would be useful. Maybe next
year? In the meantime, this will work.
http://dev.catalyst.perl.org/wiki/DocLinks/AdventCalendar2006
That's great, thanks.
--
Jon
be applied.
I would like to make one small suggestion - would it be possible to add
a table of contents? (As in a list of titles rather than dates). It's a
great resource and a TOC would make it much easier to refer back to the
various articles at a later time.
Regards,
--
Jon
Likewise I couldn't get sqlt to work with DBIx::Class; it doesn't seem
to be set up to take the DBIx::Class options. But you can achieve the
same end like this:
use SQL::Translator;
my $translator = SQL::Translator-new(
debug = 0,
coderef to wrap), and I can't see where I could
appropriately call txn_begin/txn_commit/txn_rollback to achieve a useful
effect.
Any advice from people who've been here before (even if it's 'you don't
want to do that') would be very welcome.
Jon.
--
Jon Warbrick
Web/News Development, Computing
};
Er, can you? Where do you get $c from?
Jon.
--
Jon Warbrick
Web/News Development, Computing Service, University of Cambridge
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http
On Tue, 2006-11-14 at 09:31 +, Chisel Wright wrote:
On Tue, Nov 14, 2006 at 01:50:39PM +1030, Jon wrote:
I found Catalyst::Log::Log4perl a good alternative. Unfortunately not
compatible with Catalyst::Plugin::Dumper though.
Yeah, dig back through the archives and you'll find mst's
/Myapp/script.
HTH.
--
Jon
On Mon, 2006-11-13 at 18:44 +0800, Mao DengFeng-e13751 wrote:
Hi,
I have installed mod_fastcgi into apache and I got this information:
Apache/2.0.55 (Unix) PHP/4.4.2 mod_fastcgi/2.4.2 Server at
apflex.pcs.mot.com Port 80
I found Catalyst::Log::Log4perl a good alternative. Unfortunately not
compatible with Catalyst::Plugin::Dumper though.
--
Jon
On Tue, 2006-11-14 at 10:57 +0800, Mao DengFeng-e13751 wrote:
Hi,
I have made catalyst is runing in apache with FastCGI engine.
It's really very fast:)
But when I
want the current
developer version (0.04_01) which fixes problems working with config
files.
Jon.
--
Jon Warbrick
Web/News Development, Computing Service, University of Cambridge
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org
However, I'd love to see a proper RFC for an Engine stop method on
catalyst-dev so we can have a proper discussion about it.
Moving discussion to catalyst-dev now...
--
Jon
___
List: Catalyst@lists.rawmode.org
Listinfo: http
I need to launch a long-running (minutes up to hours) background program
from Catalyst. I have it working almost well enough - I do the usual
double-fork, closing standard file descriptors, and had to take some
particular care to use POSIX::_exit and put an eval{} around the daemon
code so that
appears to be needed for Date parsing but
doesn't appear as an explicit dependency.
Now to actually play with it...
Jon.
--
Jon Warbrick
Web/News Development, Computing Service, University of Cambridge
___
List: Catalyst@lists.rawmode.org
Listinfo
by
Catalyst-Runtime is likely to lead to confusion for anyone who goes
looking for 'something called Catalyst'.
Jon.
--
Jon Warbrick
Web/News Development, Computing Service, University of Cambridge
___
List: Catalyst@lists.rawmode.org
Listinfo: http
at first line of subroutine after it is
compiled.
It make it easy to set a breakpoint on entry to something like a
method in a plugin without first having to work out where it's loaded and
without having to edit it.
Jon.
--
Jon Warbrick
Web/News Development, Computing Service, University
On Mon, 2 Oct 2006, Matt S Trout wrote:
Jon Warbrick wrote:
But for some reason my Catalyst::View::MicroMason
view, called Lookup::View::MicroMason _isn't_ successfully configured - it
behaves as if the extra mixins are not present. Anyone any idea why?
Yes. Because it's broken
successfully configured - it
behaves as if the extra mixins are not present. Anyone any idea why?
Jon.
---
name: Lookup
Model::LookupDB:
schema_class: Ucam::LookupDB
connect_info:
- dbi:Pg:dbname=jw35
View::MicroMason:
Mixins:
- -Filters
- -CompileCache
On Thu, 28 Sep 2006, Ash Berlin wrote:
Jon Warbrick wrote:
Can a Catalyst::Model::DBIC::Schema model be configured from a YAML
file via Catalyst::Plugin::Config::YAML? If so, how? Apologies if it's in
the documentation somewhere, but if so I've yet to find it...
Jon
Can a Catalyst::Model::DBIC::Schema model be configured from a YAML
file via Catalyst::Plugin::Config::YAML? If so, how? Apologies if it's in
the documentation somewhere, but if so I've yet to find it...
Jon.
--
Jon Warbrick
Web/News Development, Computing Service, University of Cambridge
installation using cat-install hadn't (understandably, with hindsight)
upgraded Catalyst::View::TT. Doing so resolved both problems. Thanks to
John Napiorkowski for his 'try upgrading' suggestion.
Jon.
--
Jon Warbrick
Web/News Development, Computing Service, University of Cambridge
35 matches
Mail list logo