Juan Camacho ha scritto:
On 5/7/07, Matt S Trout <[EMAIL PROTECTED]> wrote:
On Mon, May 07, 2007 at 12:09:49PM -0400, Juan Camacho wrote:
> On 5/7/07, Matt S Trout <[EMAIL PROTECTED]> wrote:
>
> >in MyApp.pm - you were confusing the 'Controller::Foo' key that
specifies
> >which component MyApp-
Hi,
This email is to inform everyone I had conversation with Evan Caroll on irc
this morning and decision was to revert back to 0.15 ( original C::M::DBI
version ), although the module version has been bumped to 0.18 in both svn
and cpan mirrors.
The reason is, Evan has indicated that the beha
On 5/7/07, Matt S Trout <[EMAIL PROTECTED]> wrote:
On Mon, May 07, 2007 at 12:09:49PM -0400, Juan Camacho wrote:
> On 5/7/07, Matt S Trout <[EMAIL PROTECTED]> wrote:
>
> >in MyApp.pm - you were confusing the 'Controller::Foo' key that specifies
> >which component MyApp-level config is for and the
On 08/05/07, Matt S Trout <[EMAIL PROTECTED]> wrote:
On Mon, May 07, 2007 at 11:40:39AM -0700, Will Smith wrote:
> If I stash out the value of $msg, it is an ARRAY(...) . I'm not sure
how to manipulate that.
Buy a copy of Learning Perl.
Last I looked, Learning Perl is not a good source for
On Mon, May 07, 2007 at 11:40:39AM -0700, Will Smith wrote:
> If I stash out the value of $msg, it is an ARRAY(...) . I'm not sure how to
> manipulate that.
Buy a copy of Learning Perl.
Or hire a programmer.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
T
On Mon, May 07, 2007 at 11:27:26PM +0200, Bernhard Graf wrote:
> Matt S Trout wrote:
> > On Sun, May 06, 2007 at 12:02:51PM +0200, Bernhard Graf wrote:
>
> > > A patch against the svn trunk is attached.
> >
> > You seem to have only sent half the patch - could you try re-sending
> > it and make su
On Mon, May 07, 2007 at 11:31:29PM +0200, Bernhard Graf wrote:
> Matt S Trout wrote:
>
> > On Fri, May 04, 2007 at 04:24:12PM +0200, Bernhard Graf wrote:
> > > On Friday 04 May 2007 15:58, Bogdan Lucaciu wrote:
>
> > > Your example is superfluous, because this is what my application
> > > looks l
On Mon, May 07, 2007 at 06:58:16PM +0400, Oleg Pronin wrote:
> I can test the part related to the subject of this thread with great
> pleasure.
>
> I'm currently making full-featured dynamic admin interface for catalyst (not
> so simple as plugin CRUD :) )
> And it will have been loaded as plugin
On Mon, May 07, 2007 at 12:09:49PM -0400, Juan Camacho wrote:
> On 5/7/07, Matt S Trout <[EMAIL PROTECTED]> wrote:
>
> >in MyApp.pm - you were confusing the 'Controller::Foo' key that specifies
> >which component MyApp-level config is for and the 'Controller::FormBuilder'
> >key that specifies C::
On May 7, 2007, at 5:27 PM, Bernhard Graf wrote:
Matt S Trout wrote:
On Sun, May 06, 2007 at 12:02:51PM +0200, Bernhard Graf wrote:
A patch against the svn trunk is attached.
You seem to have only sent half the patch - could you try re-sending
it and make sure the test is attached this ti
Matt S Trout wrote:
> Why can't you just set $c->stash(current_view => 'MyCSVView') and let
> RenderView work its magic the normal way?
With the help of some helpful people I already came to this solution.
--
Bernhard Graf
___
List: Catalyst@lists.raw
Matt S Trout wrote:
> On Fri, May 04, 2007 at 04:24:12PM +0200, Bernhard Graf wrote:
> > On Friday 04 May 2007 15:58, Bogdan Lucaciu wrote:
> > Your example is superfluous, because this is what my application
> > looks like basically.
>
> I think you didn't read the documentation, and are being o
Matt S Trout wrote:
> On Sun, May 06, 2007 at 12:02:51PM +0200, Bernhard Graf wrote:
> > A patch against the svn trunk is attached.
>
> You seem to have only sent half the patch - could you try re-sending
> it and make sure the test is attached this time please?
Of course you're right. But I'm no
Hi, first of all, I want to apology if this question does not belong to this
mail list.
I am working on an email function that read in pop3 mails and return some
values such as Subject, From, To, Date. I try Net::POP3, simple code like:
my $pop = Net::POP3->new('mymailserver.com', Timeout =>
> If I stash out the value of $msg, it is an ARRAY(...) . I'm not
> sure how to manipulate that. I hope that someone (not getting mad
> because I pop the message in wrong room) would help me out a bit
> with which module is good to use for this type of work.
perldoc perlref
--
Yuval Kogma
On Mon, 7 May 2007, Alessio Bragadini wrote:
On 7 May 2007, at 00:52, Kieren Diment wrote:
I wrote a little comment to http://avatraxiom.livejournal.com/58084.html <
- this post. However, feel free to chime in. I suspect that his view of
perl is rather wrong-headed.
See also
http://use.pe
Hi,
Try again, I just commited to svn and uploaded 0.17 into cpan. I made the
$self->_pid($$) init in new ( as per your suggestion ) as well as added some
other code. It seems to work on my machine here:
[error] Caught exception in MyApp::Controller::Root->default "16770 different
from 16770
On 5/7/07, Matt S Trout <[EMAIL PROTECTED]> wrote:
in MyApp.pm - you were confusing the 'Controller::Foo' key that specifies
which component MyApp-level config is for and the 'Controller::FormBuilder'
key that specifies C::C::FB-specific config options within a controller.
The names are sufficie
Yes, your right. I just wanted to start with something simple :)
In two worlds, i want the same effect (visual) like this (in apache config):
PerlHandler Application_A
PerlHandler Application_B
But in this way the program code A cannot call B's actions or functions and
vise ve
I can test the part related to the subject of this thread with great
pleasure.
I'm currently making full-featured dynamic admin interface for catalyst (not
so simple as plugin CRUD :) )
And it will have been loaded as plugin into a project (while this interface
is catalyst project itself). That's
Hello,
Definitely! Everything under /root/static is getting served _as static
content_.
I don't see a reason to install yet another plugin/module to serve
static files.
Greets,
K.
Tobias Kremer wrote:
> Hi Dmitri,
>
>> I have
>> a) JavaScript files (*.js) and
>> b) images,
>> which I want to use
On Tue, May 01, 2007 at 10:53:41PM +0200, Dmitri Pissarenko wrote:
>use Catalyst qw/
>-Debug
>ConfigLoader
>Static::Simple
>
>StackTrace
>
>
>Authentication
>Authentication::Store::DBIC
>Aut
On Mon, May 07, 2007 at 11:55:59AM +0200, Marcello Romani wrote:
> >Not only does this work, but I find it more convenient specifying
> >formbuilder config options in one place rather than in every controller
> >that uses CCF. Hope it works for you.
>
> Damn, it works!!
>
> I'll re-read the doc
On Wed, May 02, 2007 at 08:02:04PM +0400, Oleg Pronin wrote:
> You didn't understand what i meant. MyApp::A is not a class. It's a whole
> application with all surrounding stuff.
> so and MyApp::B.
>
> Ok lets build the question in another manner:
>
> Catalyst scans for all modules under MyApp::C
On Thu, May 03, 2007 at 06:27:58PM +0400, Oleg Pronin wrote:
> Do you know when will be the next release?
Depends on whether you help us test the code to make sure it's fit for
release :)
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical DirectorWa
On Thu, May 03, 2007 at 06:22:12PM +0100, Anthony Gardner wrote:
> Greetings,
>
> I've had a look at Catalyst and RoR from a basic point of view and like both.
> I'm also familiar with the concepts of MVC but again, from a basic point of
> view. I'm also busy learning design patterns etc.
Sham
On Fri, May 04, 2007 at 04:24:12PM +0200, Bernhard Graf wrote:
> On Friday 04 May 2007 15:58, Bogdan Lucaciu wrote:
> > On Friday 04 May 2007 16:53, Bernhard Graf wrote:
> > > > First of all, why are you sending your response from the
> > > > controller and not from the view?
> > >
> > > ???
> >
>
On Fri, May 04, 2007 at 12:34:01PM +0200, Bernhard Graf wrote:
> For a Catalyst application I have written View classes that serialize
> DBIC ResultSets to common formats (CSV, XML) to be stored to disc.
>
> Since the amount of data can become really big, the views don't set
> $c->response->body
On Mon, May 07, 2007 at 02:44:01PM +0200, Dmitri Pissarenko wrote:
> Hello!
>
> I have a table with "activities" and each of them has a certain
> duration. Each activitiy is assigned to one category.
>
> I want to create a table, in which
>
> a) each category is shown and
> b) for each category
On Sat, May 05, 2007 at 09:14:33PM +0530, Dister Kemp wrote:
> Hey Sebastien,
>
> I am just mailing to say a quick 'Thank you', that approach worked.
> Looks like my understanding of the Alias directive of Apache
> was not sufficient. Yes, /tmp will not be the final one as you had said.
>
> Now
On Mon, May 07, 2007 at 10:52:20AM +1000, Kieren Diment wrote:
> Hi,
>
> I wrote a little comment to http://avatraxiom.livejournal.com/58084.html < -
> this post. However, feel free to chime in. I suspect that his view of perl
> is rather wrong-headed.
If I had to deal with the bugzilla codebas
Hello!
I have a table with "activities" and each of them has a certain
duration. Each activitiy is assigned to one category.
I want to create a table, in which
a) each category is shown and
b) for each category the sum of durations of its activities is shown.
In other words, I want to display
Fayland Lam wrote:
hey, it seems that Catalyst::Plugin::PageCache can NOT get along well
with the I18N.
to let the PageCache get along with languages, I patched the PageCache
for a bit.
sub _get_page_cache_key {
my ($c) = @_;
my $key = $c->next::method(@_);
my $langs = $c->languag
On Mon, May 07, 2007 at 01:34:47PM +0200, Dmitri Pissarenko wrote:
> Hello!
>
> I have a model class, which has one field of "date" type.
>
> I'm trying to save data in this field using
>
> my $activity = $c->model('TimeTrackingAppDB::Activity')->create({
> ...
> date => $dateAsString,
> });
>
Fayland Lam wrote:
hey, it seems that Catalyst::Plugin::PageCache can NOT get along well
with the I18N.
to let the PageCache get along with languages, I patched the PageCache
for a bit.
sub _get_page_cache_key {
my ($c) = @_;
my $key = $c->next::method(@_);
my $langs = $c->languag
On Sun, May 06, 2007 at 12:02:51PM +0200, Bernhard Graf wrote:
> This header line is automatically created by this code in
> Catalyst::finalize_headers():
>
> if ( my $stat = stat $c->response->body ) {
> $c->response->content_length( $stat->size );
> }
>
> Apparently this assumes that
Hello!
Ignore my last question. I found the solution:
http://search.cpan.org/~tonkin/MySQL-DateFormat-1.01/DateFormat.pm
Best regards
Dmitri
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable
Hello!
I have a model class, which has one field of "date" type.
I'm trying to save data in this field using
my $activity = $c->model('TimeTrackingAppDB::Activity')->create({
...
date => $dateAsString,
});
where $dateAsString contains a string in this format: "28-5-2007".
The date is not sa
hey, it seems that Catalyst::Plugin::PageCache can NOT get along well
with the I18N.
to let the PageCache get along with languages, I patched the PageCache
for a bit.
sub _get_page_cache_key {
my ($c) = @_;
my $key = $c->next::method(@_);
my $langs = $c->languages();
$key .= '
RA Jones ha scritto:
Marcello Romani wrote:
RA Jones ha scritto:
It looks like your output is showing both debug1 and debug2 levels,
which suggests your fb config settings are not being used. Did you place
That's what I thought too.
Where do you put the "debug" option ?
I tried this:
pack
RA Jones ha scritto:
Marcello Romani wrote:
RA Jones ha scritto:
It looks like your output is showing both debug1 and debug2 levels,
which suggests your fb config settings are not being used. Did you place
That's what I thought too.
Where do you put the "debug" option ?
I tried this:
pack
Marcello Romani wrote:
RA Jones ha scritto:
It looks like your output is showing both debug1 and debug2 levels,
which suggests your fb config settings are not being used. Did you place
That's what I thought too.
Where do you put the "debug" option ?
I tried this:
package MyApp::Controller:
Hi,
And if we take out the ACCEPT_CONTEXT, then we get:
[error] Caught exception in MyApp::Controller::Root->default "12426 different
from 12426 at /usr/home
I will look into this tonight.
Thank you for the input.
On Monday 07 May 2007 00:57, Evan Carroll wrote:
> Sorry to break it to y
On 5/7/07, Evan Carroll <[EMAIL PROTECTED]> wrote:
Sorry to break it to you. This still doesn't work.
Caught exception in Dealermade::C::Root->join "21433 different from
21434 at /var/www/Dealermade/script/../lib/Dealermade/C/Root.pm line
71, line 228."
die $c->model('DBI')->dbh->{pg_pid} . '
RA Jones ha scritto:
Marcello Romani wrote:
Hmm, I tried your code (which afaikt should work) but putting 0,1 or 2
doesn't make any difference in the type or amount of debug messages
the app is emitting.
I'll double check my code and report. Thanks for now.
It looks like your output is sh
Sorry to break it to you. This still doesn't work.
Caught exception in Dealermade::C::Root->join "21433 different from
21434 at /var/www/Dealermade/script/../lib/Dealermade/C/Root.pm line
71, line 228."
die $c->model('DBI')->dbh->{pg_pid} . ' different from ' .
$c->model('DBI')->dbh->{pg_pid};
On 5/7/07, Alex Pavlovic <[EMAIL PROTECTED]> wrote:
Well, one way of getting to the $dbh before was through the ACCEPT_CONTEXT
because if you had single Root DBI model, you could just do:
my $dbh = $c->model('Root')->dbh;
This is essentially the way I'm doing it.
from a model that did not in
47 matches
Mail list logo