On Fri, 2010-10-08 at 19:46 +0200, Alexander Hartmaier wrote:
> Am Dienstag, den 21.09.2010, 06:29 +0200 schrieb Pavel A. Karoukin:
> > I am using Catalyst::Plugin::Mail and want to define email config in
> > myapp.conf. But C::P::Mail expects email config variable to be array
> > ref. How I can as
If you're referring to Catalyst::Plugin::Email you shouldn't use that
any more as mailing doesn't need to be a plugin but a view.
Try Catalyst::View::Email(::Template)
--
Best regards, Alex
Am Dienstag, den 21.09.2010, 06:29 +0200 schrieb Pavel A. Karoukin:
> Hello,
>
>
> I am using Catalyst::Pl
On Tuesday, September 21, 2010 08:30:43 am Pavel A. Karoukin wrote:
> On Tue, Sep 21, 2010 at 8:06 AM, Emanuele Zeppieri wrote:
> > On Tue, Sep 21, 2010 at 2:14 PM, Octavian Rasnita
> > my $conf = Config::General->new( -ConfigFile => 'config.conf',
> > -ForceArray => 1 );
>
> How I can pass this
From: "Emanuele Zeppieri"
> To obtain single value arrays with the syntax in question, the above
> line should be:
>
> my $conf = Config::General->new( -ConfigFile => 'config.conf',
> -ForceArray => 1 );
>
Aa, thanks.
Octavian
___
List: Catalyst@l
On Tue, Sep 21, 2010 at 8:53 AM, Emanuele Zeppieri wrote:
> On Tue, Sep 21, 2010 at 3:30 PM, Pavel A. Karoukin
> wrote:
>
> > On Tue, Sep 21, 2010 at 8:06 AM, Emanuele Zeppieri
> wrote:
> >>
> >> On Tue, Sep 21, 2010 at 2:14 PM, Octavian Rasnita
> >> wrote:
> >>
> >> > Hi Andrew,
> >> >
> >> >
On Tue, Sep 21, 2010 at 3:30 PM, Pavel A. Karoukin wrote:
> On Tue, Sep 21, 2010 at 8:06 AM, Emanuele Zeppieri wrote:
>>
>> On Tue, Sep 21, 2010 at 2:14 PM, Octavian Rasnita
>> wrote:
>>
>> > Hi Andrew,
>> >
>> > I tried:
>> >
>> > C:\Documents and Settings\Teddy> perl -MConfig::General -e "pri
On Tue, Sep 21, 2010 at 8:06 AM, Emanuele Zeppieri wrote:
> On Tue, Sep 21, 2010 at 2:14 PM, Octavian Rasnita
> wrote:
>
> > Hi Andrew,
> >
> > I tried:
> >
> > C:\Documents and Settings\Teddy> perl -MConfig::General -e "print
> > $Config::General::VERSION"
> > 2.49
> >
> > #The program:
> >
> >
On Tue, Sep 21, 2010 at 2:14 PM, Octavian Rasnita
wrote:
> Hi Andrew,
>
> I tried:
>
> C:\Documents and Settings\Teddy> perl -MConfig::General -e "print
> $Config::General::VERSION"
> 2.49
>
> #The program:
>
> use Config::General;
> use Data::Dumper;
>
> my $conf = Config::General->new('config.c
#x27;t work as it should because it creates a scalar that
contains "[ bar ]".
Am I missing something?
Thanks.
--Octavian
- Original Message -
From: "Andrew Rodland"
To: "The elegant MVC web framework"
Sent: Tuesday, September 21, 2010 11:27 AM
Subject: Re: [C
On Tuesday, September 21, 2010 02:52:52 am Octavian Rasnita wrote:
> The problem appears when the array should have just a single item, because
> in that case Config::General reports it as a scalar value.
>
> I don't know if there is a better way of defining a single-item array with
> Config::Gene
like:
foo bar
foo
This creates an array with 2 elements and the last one is undef.
--Octavian
- Original Message -
From: "Kamen Naydenov"
To: "The elegant MVC web framework"
Sent: Tuesday, September 21, 2010 9:05 AM
Subject: Re: [Catalyst] Defining ARRAY in Config
On Tue, Sep 21, 2010 at 07:29, Pavel A. Karoukin wrote:
> Hello,
> I am using Catalyst::Plugin::Mail and want to define email config in
> myapp.conf. But C::P::Mail expects email config variable to be array ref.
> How I can assign array value to config variable in myapp.conf?
Multiple rows with sa
Hello,
I am using Catalyst::Plugin::Mail and want to define email config in
myapp.conf. But C::P::Mail expects email config variable to be array ref.
How I can assign array value to config variable in myapp.conf?
Regards,
Pavel
___
List: Catalyst@lists
13 matches
Mail list logo