AutoUpdate, add_constructor, a toy set_sql emulator, object index stubs and destroy...
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / CDBICompat / Stringify.pm
CommitLineData
a3018bd3 1package DBIx::Class::CDBICompat::Stringify;
2
3use strict;
4use warnings;
5
6use overload
7 '""' => sub { shift->stringify_self };
8
9sub stringify_self {
10 my $self = shift;
11 #return (ref $self || $self) unless $self; # empty PK
12 #return ref $self unless $self;
13 my @cols = $self->columns('Stringify');
14 #@cols = $self->primary_column unless @cols;
15 #return join "/", map { $self->get($_) } @cols;
16}
17
181;