ok. thanks.

what is the magic? is its behaviour in one of the perldocs?

On 10/4/06, Matt S Trout <[EMAIL PROTECTED]> wrote:
> Daniel McBrearty wrote:
> > I have. Could do it either way, but on the whole I prefer to seperate the 
> > two.
> >
> > Even if I did that, I think I'd have the same question - how to get a
> > connection without creating a new one.
>
> $storage->dbh
>
> DO NOT CACHE THAT
>
> Grab it each time, then you benefit from all of DBIC's reconnection magic.
>
> --
>       Matt S Trout       Offering custom development, consultancy and support
>    Technical Director    contracts for Catalyst, DBIx::Class and BAST. Contact
> Shadowcat Systems Ltd.  mst (at) shadowcatsystems.co.uk for more information
>
> + Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +
>
> _______________________________________________
> 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://dev.catalyst.perl.org/
>


-- 
Daniel McBrearty
email : danielmcbrearty at gmail.com
www.engoi.com : the multi - language vocab trainer
BTW : 0873928131

_______________________________________________
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://dev.catalyst.perl.org/

Reply via email to