Re: [Dbix-class] get_columns and overloaded column accessors

2010-10-20 Thread Francesc Romà i Frigolé
rint "HashRefInflator: " . $track->{title} . "\n"; } - get_tracks_by_cd(Bad): HashRefInflator: Leave Me Alone HashRefInflator: Smooth Criminal HashRefInflator: Dirty Diana Francesc 2010/10/20 Francesc Romà i Frigolé > > > On Wed, Oct 20, 2010 at 2:57 PM

Re: [Dbix-class] get_columns and overloaded column accessors

2010-10-20 Thread Francesc Romà i Frigolé
On Wed, Oct 20, 2010 at 2:57 PM, Peter Rabbitson > wrote: > Francesc Romà i Frigolé wrote: > >> Hello, >> >> I'm using overloaded column accessors as described in the Cookbok < >> http://search.cpan.org/%7Efrew/DBIx-Class-0.08123/lib/DBIx/Class/Manual/Co

[Dbix-class] get_columns and overloaded column accessors

2010-10-20 Thread Francesc Romà i Frigolé
Hello, I'm using overloaded column accessors as described in the Cookbok. For a given row, I'd like to get a hash with all the column names/value pairs like Row->get_columns returns. However,

Re: [Dbix-class] InflateColumn with objects external to the database (like InflateColumn::FS)

2009-04-21 Thread Francesc Romà i Frigolé
On Mon, Apr 20, 2009 at 9:36 PM, Hans Dieter Pearcey < hdp.perl.dbix-cl...@weftsoar.net> wrote: > On Mon, Apr 20, 2009 at 09:25:59PM +0200, Francesc Romà i Frigolé wrote: > > I understand your concern about having unnecessary dependencies, but is > there > > any module wh

Re: [Dbix-class] InflateColumn with objects external to the database (like InflateColumn::FS)

2009-04-20 Thread Francesc Romà i Frigolé
On Mon, Apr 20, 2009 at 3:06 PM, Matt S Trout wrote: > On Sun, Apr 19, 2009 at 01:17:07PM +0200, Francesc Romà i Frigolé wrote: > > On Sat, Apr 18, 2009 at 1:42 AM, Marc Mims wrote: > > > I also removed DBIx::Class::UUIDColumns as a base class. I still 'use' >

Re: [Dbix-class] InflateColumn with objects external to the database (like InflateColumn::FS)

2009-04-19 Thread Francesc Romà i Frigolé
On Sat, Apr 18, 2009 at 1:42 AM, Marc Mims wrote: > > I've committed an update with a working copy method and a fix for a > previously reported infinite recursion bug introduced with the addition > of fs_new_on_update. > http://dev.catalyst.perl.org/svnweb/bast/revision?rev=5891 > I did a quick

[Dbix-class] InflateColumn with objects external to the database (like InflateColumn::FS)

2009-04-17 Thread Francesc Romà i Frigolé
Hello list, If I understand DBIx::Class::InflateColumn properly, it automatically converts column data into references and the other way around, but it doesn't take into account the possibility that the stored value could be some sort of a unique ID ( like a file name, process id, socket...) Imag