> This would make a nice plugin: Catalyst::Plugin::Setenv.
OK this is in svn as revision 5077 and on CPAN now. Test and enjoy.
file: $CPAN/authors/id/J/JR/JROCKWAY/Catalyst-Plugin-Setenv-0.01.tar.gz
size: 3277 bytes
md5: b8b5ef0ef3fb01c62bfe55e42f3593c2
Regards,
Jonathan Rockway
--
package J
This would make a nice plugin: Catalyst::Plugin::Setenv.
The YAML would look like:
environment:
FOO_BAR: 1
SOMETHING_ELSE: a value
Regards,
Jonathan Rockway
On Wednesday 11 October 2006 11:01, Bill Moseley wrote:
> On Wed, Oct 11, 2006 at 01:10:57PM +0200, Marc Logghe wrote:
> > Hi,
> > Wh
perl -d script/[appname]_test.pl [page_or_action_to_load]
should do the trick.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Roderick A.
Anderson
Sent: Wednesday, October 11, 2006 4:10 PM
To: The elegant MVC web framework
Subject: Re: [Catalyst] Debugg
On 12/10/06, Roderick A. Anderson <[EMAIL PROTECTED]> wrote:
Roderick A. Anderson wrote:> Sorry. Brain fart on my part.>> I had started cat-server.pl already then minimized the window it was> running in.But that didn't _really_ help. The cat_server.pl goes off on it's merry
way doing all the real
The tutorial covers this:
Currently located at...
http://search.cpan.org/~jrockway/Task-Catalyst-Tutorial-0.02/lib/Catalyst/Manual/Tutorial/Debugging.pod
Let me know if that doesn't help.
Regards,
Kennedy
On 10/11/06, Roderick A. Anderson <[EMAIL PROTECTED]> wrote:
> Roderick A. Anderson wrote
On 12/10/06, John Napiorkowski <[EMAIL PROTECTED]> wrote:
[snip]They are betting no one will put up the cash to
sponsor a Perl team. And they are looking for severalteams for each platform, enough to make a contestbetween developers in a platform meaningful.Perhaps perl has been *ahem* promoted fr
Roderick A. Anderson wrote:
> Sorry. Brain fart on my part.
>
> I had started cat-server.pl already then minimized the window it was
> running in.
But that didn't _really_ help. The cat_server.pl goes off on it's merry
way doing all the really neat Catalyst things while the perl debugger
sit
On 10/11/06, Matt S Trout <[EMAIL PROTECTED]> wrote:
> Drew Taylor wrote:
> > On 10/10/06, Matt S Trout <[EMAIL PROTECTED]> wrote:
> >> my $model_dbic_schema_object = MyApp->model('Foo');
> >
> > Shouldn't the name actually be "$model_dbic_resultset_object"? I'm
> > still trying to wrap my head aro
-- Matt S Trout <[EMAIL PROTECTED]> wrote:
> http://www.plat-forms.org/faq.htm
>
> They're having a platform war. We're forever left
> out of the ruby vs. python
> games, the "enterprise" people ignore us (though
> really, I'm not sure I mind
> that :) but ...
>
> "We have been considering Per
http://www.plat-forms.org/faq.htm
They're having a platform war. We're forever left out of the ruby vs. python
games, the "enterprise" people ignore us (though really, I'm not sure I mind
that :) but ...
"We have been considering Perl as one of the platforms to be admitted to the
contest. So f
Catalyst::Plugin::Unicode ended up saving the day.
jrockway++
___
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://
Sorry. Brain fart on my part.
I had started cat-server.pl already then minimized the window it was
running in.
Rod
--
Roderick A. Anderson wrote:
> I am kind of lost in how to run a Catalyst App through the Perl debugger.
>
> So far all my attempts of infinite innocence ( cluelessness ) have
I am kind of lost in how to run a Catalyst App through the Perl debugger.
So far all my attempts of infinite innocence ( cluelessness ) haven't
worked out.
The link from a previous thread on mod_perl profiling doesn't apply as
I'm developing using cat_server.pl.
I really need ( would like ) to
On Wed, Oct 11, 2006 at 01:10:57PM +0200, Marc Logghe wrote:
> Hi,
> What is The Best Way (TM) to configure environment variables in Catalyst
I have my app's setup() method read the yaml file. That would be an
easy place to set environment vars that are stored in the yaml file.
But, I use a scri
I'm trying to get Catalyst::Plugin::Server::XMLRPC to send back its
responses with utf-8 encoding. So far, I've set $RPC::XML::ENCODING =
'utf-8' so that qq() works. Unfortunately, this is not
enough.
If the actual bytes being sent over the network are not in utf-8, the
xml parser will throw an
Looks like you’ve got white space before
the “=head1”.
POD commands like that need to start at
the beginning of a line.
Regards, Peter
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Wong
Sent: 11 October 2006 16:07
To: catalyst@lists.rawmode.org
Subject:
Looks like you have spaces before the POD directive (=head1 and =cut).
These need to be right at the beginning of the line:
Compare:
[EMAIL PROTECTED] ~
$ perl -e '=head1 FOO'
[EMAIL PROTECTED] ~
$ perl -e ' =head1 FOO'
syntax error at -e line 1, near "="
Execution of -e aborted due to compilati
Hi, I read through the tutorial and starting to create an test app, following instructions in the first lesson: Catalyst::Manual::Tutorial::CatalystBasics. Everything went well untill the last step, launch the app. I got this error, and don't understand. So I hope someone would teach me on this:
-- Marc Logghe <[EMAIL PROTECTED]> wrote:
> Hi,
> What is The Best Way (TM) to configure environment
> variables in Catalyst
> ?
>
> Currently, it is set in a perl block in the apache
> perl.conf
> $ENV{ORACLE_HOME} = '/path/to/orahome/';
>
> But actually I'd prefer to keep this together with
Hi,
What is The Best Way
(TM) to configure environment variables in Catalyst ?
Currently, it
is set in a perl block in the apache perl.conf
$ENV{ORACLE_HOME} =
'/path/to/orahome/';
But actually I'd
prefer to keep this together with the configuration of the catalyst application
itself.
I
> Shouldn't that be /home/marcl/catalyst/posedb/root/search.tt2
>
> Also the dump before referred to a different path with myapp
> not posedb
>dirs => ["", "home", "marcl", "catalyst", "myapp", "root"],
>
Yeah, sure, thanks for keeping heads up.
I just wanted to make the example more 'gene
>> Have you tried doing "warn posedb->path_to( 'root' )" ?
>/home/marcl/catalyst/posedb/root
>Still 'Coldn't render template "file error - search.tt2: not found'
>though, while it resides in
>/home/marcl/catalyst/posedb/root/src/search.tt2
Shouldn't that be /home/marcl/catalyst/posedb/root/sear
> Can it see the Makefile.PL ?
>
> Have you tried doing "warn posedb->path_to( 'root' )" ?
It gives:
/home/marcl/catalyst/posedb/root
So that seems fine, no ?
Still 'Coldn't render template "file error - search.tt2: not found'
though, while it resides in
/home/marcl/catalyst/posedb/root/src/searc
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andreas
MarienborgSent: Wednesday, October 11, 2006 12:05 PMTo:
The elegant MVC web frameworkSubject: Re: [Catalyst] problem
deploying with apache: templates not found
Does the folder below your root/ have the
Does the folder below your root/ have the Makefile.PL?Its used to determine the home-folder of the application, so if thats missing, you probably get the wrong home folder, and thus the wrong paths to the templates.andreasOn 11. okt. 2006, at 11.48, Marc Logghe wrote: Hi all, I tried to deploy my
Marc Logghe wrote:
> Hi all,
> I tried to deploy my little test application with apache, basically just
> like indicated here:
> http://www.mail-archive.com/catalyst@lists.rawmode.org/msg01410.html
>
> Apache starts without errors but when a request is send for
> http://localhost/pdfjoin, I get
Hi all,
I tried to deploy my
little test application with apache, basically just like indicated
here:
http://www.mail-archive.com/catalyst@lists.rawmode.org/msg01410.html
Apache starts
without errors but when a request is send for http://localhost/pdfjoin, I get the catalyst
error dump s
Drew Taylor wrote:
> On 10/10/06, Matt S Trout <[EMAIL PROTECTED]> wrote:
>> my $model_dbic_schema_object = MyApp->model('Foo');
>
> Shouldn't the name actually be "$model_dbic_resultset_object"? I'm
> still trying to wrap my head around _all_ of DBIC, so I'm not just
> being pedantic. :-)
No. My
On 10/10/06, Matt S Trout <[EMAIL PROTECTED]> wrote:
> my $model_dbic_schema_object = MyApp->model('Foo');
Shouldn't the name actually be "$model_dbic_resultset_object"? I'm
still trying to wrap my head around _all_ of DBIC, so I'm not just
being pedantic. :-)
Thanks,
Drew
--
---
29 matches
Mail list logo