my $barneys = $c-model('DB::Person')-search({name = 'barney'});
instead of
my $schema = $c-model('DB');
my $barnes = $schema-resultset('Person')-search({name = 'barney'});
And I don't think Model::DBIC::Schema pays attention to the default_model
setting.
He can use the default_model
Recently there have been a number of messages relating to the difficulties
of installing Catalyst on Windows.
Although installing Perl-modules on Windows-machines is always a bit
difficult, I find that Catalyst and its related modules are not more
difficult to install than the average other
On 12/26/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
A recent version of ActiveState Perl, the mingw package/environment, a
well configured CPAN and CPANPLUS and finally PPM (with such extra
repositories such as the one provided by Randy Kobes) makes installing
modules (and Catalyst) an
This is throwing me down the stairs. I'm trying to pull out individual form
element values to do things with. I have a working form with settings like:
==
my $w = $c-widget('write_msg_form')-method('post');
$w-element('Textfield', 'sndr_email' )-label('Email')-size(50)-value('');
From: Nilson Santos Figueiredo Junior [EMAIL PROTECTED]
Of course, some things just can't be done (e.g.
Cache::FastMmap didn't support Windows until recently)
Does Cache::FastMmap support Windows now?
I have tried installing it with ppm, but I couldn't find it, and using cpan,
but it gave
I usually just do sth like:
if($result-have_errors) { display form; return }
# otherwise:
my $p = $c-req-params;
# We know that the params are valid now...
Mark
On Tuesday 26 December 2006 6:01 pm, Dennis Daupert wrote:
This is throwing me down the stairs. I'm trying to pull out individual
I'd like to throw in a vote of thanks and commendation to all who
invested their time and effort into putting together the 2006 advent
calendar. This kind of task-oriented narrative is invaluable both as
learning material and for prompting the ol' brain into thinking how
these things could be
mark at itsolve sed:
my $p = $c-req-params;
# We know that the params are valid now...
Mark, thanks for the reply. That's the solution I had come to; the request
object IS just sitting there, after all. I was hoping to be able to do it all
from the widget object for the sake of
I'm asking here instead of DBIx::Class newsgroup cuz I seldom have db questions
(and most of what goes on there is over my head anyway :)
I'm following an O'reilly article on writing PostgreSQL Functions with PL/pgSQL:
http://www.onlamp.com/lpt/a/6573
Most of my Catalyst/db acitivity is
On 12/27/06, Octavian Rasnita [EMAIL PROTECTED] wrote:
Does Cache::FastMmap support Windows now?
I have tried installing it with ppm, but I couldn't find it, and using cpan,
but it gave errors.
I've tested a preliminary version and (incorrectly) assumed it was
already available at the CPAN.
From: Juan Miguel Paredes [EMAIL PROTECTED]
Also, maybe you would like something as:
sub end : ActionClass('RenderView') {
$c-forward( $c-view('TT') ) unless $c-response-body; #note the unless
}
Oh, and I have also seen that with the Catalyst testing server it happends
the same as before
11 matches
Mail list logo