FAQ
Catalyst Fans,

<NewbieAlert>

I've Googled and searched the list message archives but am having
trouble zeroing in on the info I need. I'm sure in all that searching
the answer has been staring me right in the face somewhere.

How does one access parameters stored in myapp.conf from a schema,
for example if I wanted to configure a path in myapp.conf for saving
uploaded photos?


</NewbieAlert>


--

Kevin
http://www.RawFedDogs.net
http://www.WacoAgilityGroup.org
Bruceville, TX

Si hoc legere scis nimium eruditionis habes.
Longum iter est per praecepta, breve et efficax per exempla!!!

Search Discussions

  • fREW Schmidt at Aug 21, 2009 at 8:43 pm
    You probably shouldn't really be doing that. Pass the path into the schema
    or something like that, but schema should be able to exist outside of a
    catalyst application. If you really do want to read the conf check out
    Config::JFDI. You can use it to parse the config.
    On Thu, Aug 20, 2009 at 5:01 PM, Kevin Monceaux wrote:

    Catalyst Fans,

    <NewbieAlert>

    I've Googled and searched the list message archives but am having
    trouble zeroing in on the info I need. I'm sure in all that searching
    the answer has been staring me right in the face somewhere.

    How does one access parameters stored in myapp.conf from a schema,
    for example if I wanted to configure a path in myapp.conf for saving
    uploaded photos?


    </NewbieAlert>


    --

    Kevin
    http://www.RawFedDogs.net
    http://www.WacoAgilityGroup.org
    Bruceville, TX

    Si hoc legere scis nimium eruditionis habes.
    Longum iter est per praecepta, breve et efficax per exempla!!!


    _______________________________________________
    List: Catalyst@lists.scsys.co.uk
    Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
    Searchable archive:
    http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
    Dev site: http://dev.catalyst.perl.org/


    --
    fREW Schmidt
    http://blog.afoolishmanifesto.com
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20090821/5e4b7792/attachment.htm
  • Alexander Hartmaier at Aug 24, 2009 at 7:52 am
    I've needed that too and added it as an example to the
    Catalyst::Model::DBIC::Schema docs on Friday.

    You can find it under the following link until it's applied:
    http://paste.scsys.co.uk/32786

    Thanks @mst for the help with the schema accessor!

    Am Freitag, den 21.08.2009, 22:43 +0200 schrieb fREW Schmidt:
    You probably shouldn't really be doing that. Pass the path into the
    schema or something like that, but schema should be able to exist
    outside of a catalyst application. If you really do want to read the
    conf check out Config::JFDI. You can use it to parse the config.

    On Thu, Aug 20, 2009 at 5:01 PM, Kevin Monceaux wrote:
    Catalyst Fans,

    <NewbieAlert>

    I've Googled and searched the list message archives but am
    having
    trouble zeroing in on the info I need. I'm sure in all that
    searching
    the answer has been staring me right in the face somewhere.

    How does one access parameters stored in myapp.conf from a
    schema,
    for example if I wanted to configure a path in myapp.conf for
    saving
    uploaded photos?


    </NewbieAlert>


    --

    Kevin
    http://www.RawFedDogs.net
    http://www.WacoAgilityGroup.org
    Bruceville, TX

    Si hoc legere scis nimium eruditionis habes.
    Longum iter est per praecepta, breve et efficax per exempla!!!


    _______________________________________________
    List: Catalyst@lists.scsys.co.uk
    Listinfo:
    http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
    Searchable archive:
    http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
    Dev site: http://dev.catalyst.perl.org/



    --
    fREW Schmidt
    http://blog.afoolishmanifesto.com
    --
    BR Alex


    *"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
    T-Systems Austria GesmbH Rennweg 97-99, 1030 Wien
    Handelsgericht Wien, FN 79340b
    *"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
    Notice: This e-mail contains information that is confidential and may be privileged.
    If you are not the intended recipient, please notify the sender and then
    delete this e-mail immediately.
    *"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcatalyst @
categoriescatalyst, perl
postedAug 20, '09 at 10:01p
activeAug 24, '09 at 7:52a
posts3
users3
websitecatalystframework.org
irc#catalyst

People

Translate

site design / logo © 2022 Grokbase