-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chisel Wright wrote:
> Just a polite request. Would it be possible for:
>
> 1. people to trim quotes? It'd be really nice to not have to wade
> through a couple of hundred lines of the initial post in a thread being
> re-quoted every time someone r
On Tue, Jul 24, 2007 at 11:16:54PM +0100, Chisel Wright wrote:
> Just a polite request. Would it be possible for:
>
>
> The first rule of ultra-violet pen club is no-one discusses ultra-violet
>+pen club.
> The second rule is always replace the cap.
3. People with plain text sigs with hard r
On Wed, Jul 25, 2007 at 12:11:24AM +0400, Oleg Pronin wrote:
> I ended up with using Config::Any::Perl:
> in /myapp.perl
>
> package MyApp::ConfigurationSet;
>
> $home = Path::Class::Dir->new(MyApp->config->{home});
> ...
> $var_dir = $home->subdir('var');
> $pid_dir = $var_dir->subdir('pid')
Just a polite request. Would it be possible for:
1. people to trim quotes? It'd be really nice to not have to wade
through a couple of hundred lines of the initial post in a thread being
re-quoted every time someone replies.
2. people to quote properly? Half the time these days I have no clue
I usually test my models without loading the full Catalyst
application, and I also have some cron jobs that need to know
information found in the config file. What is the preferred way of
finding it under those conditions? Using FindBin, or something else?
Barry Hoggard
___
John Napiorkowski wrote:
-
...
It's an awful horrible piece of shit.
Class::Workflow was written by
our very own Yuvla Kogman to replace it and works
very nicely with Catalyst.
Matt,
I'd appreciate when you have a little time if you
could share some more detailed thoughts on this, since
I ended up with using Config::Any::Perl:
in /myapp.perl
package MyApp::ConfigurationSet;
$home = Path::Class::Dir->new(MyApp->config->{home});
...
$var_dir = $home->subdir('var');
$pid_dir = $var_dir->subdir('pid');
$log_dir = $var_dir->subdir('log');
$log_file = $log_dir->file('default.log'
Matt
Thank you for that succinct analysis. :) I will give Class::Workflow a
good look in that case.
Do you know how far off Persistence using DBIC is with this? I think it
would be essential for the Catalyst application I have in mind.
Since this seems to be straying from discussion of Catal
--- Matt S Trout <[EMAIL PROTECTED]> wrote:
> On Tue, Jul 24, 2007 at 02:43:12PM +0100, Ian
> Docherty wrote:
> > Thanks for pointing out the workflow CPAN module.
> I am very interested
> > in this for my current project and must spend some
> time looking at it.
> >
> > Has anyone actually use
On Tue, Jul 24, 2007 at 04:57:47AM -0300, Nilson Santos Figueiredo Junior wrote:
> On 7/22/07, Matt S Trout <[EMAIL PROTECTED]> wrote:
> >I suspect SIGUSR1 would work just fine; the 'authors' (mostly Sebastian)
> >don't actually understand signal handling, I had to do quite a lot of
> >cleanup
> >
On Tue, Jul 24, 2007 at 02:43:12PM +0100, Ian Docherty wrote:
> Thanks for pointing out the workflow CPAN module. I am very interested
> in this for my current project and must spend some time looking at it.
>
> Has anyone actually used workflow within a Catalyst application and can
> they give
On Tue, Jul 24, 2007 at 05:56:26PM +0400, Oleg Pronin wrote:
> YAML::Syck && YAML::XS supports them.
> The problem is in aliases.
> At yaml.org specification i found only simple examples like "var2: *var1".
> But i
> need to concatenate *var1 with something ($var2 = $var1 . '/subdir').
> This code
On Tue, Jul 24, 2007 at 10:08:03AM -0400, Adam Herzog wrote:
> On Jul 24, 2007, at 9:43 AM, Dave Howorth wrote:
> >Oleg Pronin wrote:
> >>How to use other variables' values in yaml config?
> >
> >I always end up implementing $substition (a la shell or perl) in my
> >app.
>
> I've used Config::Ge
On Tue, Jul 24, 2007 at 09:20:00AM +0200, Cédric Bouvier wrote:
> Hello,
>
> I have failed to understand something. If I run my Catalyst application
> under mod_perl, will it automatically use persistent database
> connections, or do I have to explicitely tell mod_perl to load
> Apache::DBI?
Cata
On Tue, Jul 24, 2007 at 04:45:32PM +0400, Oleg Pronin wrote:
> Hi.
>
> I would like to use references to variables that have been defined in my
> yaml config.
>
> Something like this:
>
> var_dir: &var __path_to(var)__
>
> log_dir: &log *var/log
> log_file: *log/file.txt
Config::General defini
Thanks for the confirmation on the latest DBIx + Auth modules working
correctly - it turns out my models are configured incorrectly.
-Marcus
2007/7/23, Jay K <[EMAIL PROTECTED]>:
Hi Marcus,
What I can tell you to start is that the most recent (on cpan)
C::P::Auth and DBIx::Class work fine toge
On Tue, Jul 24, 2007 at 02:43:37PM +0100, Dave Howorth wrote:
> Oleg Pronin wrote:
> > Hi.
> >
> > I would like to use references to variables that have been defined in my
> > yaml config.
> >
> > Something like this:
> >
> > var_dir: &var __path_to(var)__
> >
> > log_dir: &log *var/log
> >
Can you give a specific reference to the place in the YAML spec that
says this is allowed? I can only find statements about aliases to nodes
(i.e. what you call pure aliases). I can't see any provision for
substituting values and then adding to them. So the modules are simply
implementing the YAM
On Tue, Jul 24, 2007 at 04:47:14PM +0400, Oleg Pronin wrote:
> Under mod_perl all calls to DBI are proxied to Apache::DBI
No, Apache::DBI isn't used automatically.
# check if user wants a persistent database connection ( Apache + mod_perl )
if ($INC{'Apache/DBI.pm'} && $ENV{MOD_PERL}) {
$DBI
On Jul 24, 2007, at 9:43 AM, Dave Howorth wrote:
Oleg Pronin wrote:
How to use other variables' values in yaml config?
I always end up implementing $substition (a la shell or perl) in my
app.
I've used Config::General with variable interpolation to do this, in
the past.
Although Config
YAML::Syck && YAML::XS supports them.
The problem is in aliases.
At yaml.org specification i found only simple examples like "var2: *var1".
But i
need to concatenate *var1 with something ($var2 = $var1 . '/subdir').
This code is a syntax error on all three parsers:
var2: *var/subdir
var2: *var /su
Oleg Pronin wrote:
> Hi.
>
> I would like to use references to variables that have been defined in my
> yaml config.
>
> Something like this:
>
> var_dir: &var __path_to(var)__
>
> log_dir: &log *var/log
> log_file: *log/file.txt
>
> This is a feature of YAML 1.0.
Can you give a specific
Thanks for pointing out the workflow CPAN module. I am very interested
in this for my current project and must spend some time looking at it.
Has anyone actually used workflow within a Catalyst application and can
they give the list their opinion and experiences with it?
Regards
Ian Docherty
Oleg Pronin wrote:
> >I don't even know what those do. Why do you want them?
>
>
> &anchors are used to define an anchor on variable.
> *aliases are used to insert previously defined anchor's value.
>
> For example,
> root_dir: &root /very/long/path/to/root/dir
> root_dir2: *root
>
> pr
>I don't even know what those do. Why do you want them?
&anchors are used to define an anchor on variable.
*aliases are used to insert previously defined anchor's value.
For example,
root_dir: &root /very/long/path/to/root/dir
root_dir2: *root
print MyApp->config->{root_dir2}; # /very/long/p
There is a var dir.
There are log dir, pid dir and data dir under var dir.
And a somelog.log under log dir.
Do you suggest to write
var_dir: __path_to(var)__
log_dir: __path_to(var/log)__
somelog: __path_to(var/log/somelog.log)__
pid_dir: __path_to(var/pid)__
data_dir: __path_to(var/data)__
?
T
Oleg Pronin wrote:
> Hi.
>
> I would like to use references to variables that have been defined in my
> yaml config.
>
> Something like this:
>
> var_dir: &var __path_to(var)__
>
> log_dir: &log *var/log
> log_file: *log/file.txt
>
> This is a feature of YAML 1.0.
> But it seems that only
Under mod_perl all calls to DBI are proxied to Apache::DBI
2007/7/24, Cédric Bouvier <[EMAIL PROTECTED]>:
Hello,
I have failed to understand something. If I run my Catalyst application
under mod_perl, will it automatically use persistent database
connections, or do I have to explicitely tell m
Hi.
I would like to use references to variables that have been defined in my
yaml config.
Something like this:
var_dir: &var __path_to(var)__
log_dir: &log *var/log
log_file: *log/file.txt
This is a feature of YAML 1.0.
But it seems that only *pure* aliases (*var) work only in YAML::Syck &&
Y
On 7/22/07, Matt S Trout <[EMAIL PROTECTED]> wrote:
I suspect SIGUSR1 would work just fine; the 'authors' (mostly Sebastian)
don't actually understand signal handling, I had to do quite a lot of cleanup
work to make the child-related stuff sane.
Please, keep in mind that the current code, as it
Matt S Trout wrote:
> On Mon, Jul 23, 2007 at 10:56:07AM +0200, Michele Beltrame wrote:
>> Hello!
>>
>>> I've been travelling for quite a while and am now on the other side of
>>> the world, but am back at work on Catalyst-based apps, and re-subbed to
>>> the list.
>>>
>>> Anyway, I just wondered w
Hello,
I have failed to understand something. If I run my Catalyst application
under mod_perl, will it automatically use persistent database
connections, or do I have to explicitely tell mod_perl to load
Apache::DBI?
TIA
--
C é d r i c B o u v i e r
signature.asc
Description: Digital signat
32 matches
Mail list logo