Revision history for DBIx-Class-InflateColumn-Object-Enum
+0.04 Jan 27th 2009
+ - Removed self dependency
0.03 Nov 11th 2008
- Modified error verbage as per request from mst
- Changed ChangeLog sorting from latest -> oldest
author 'Jason M. Mills <jmmills at cpan.org>';
requires 'DBIx::Class::Schema';
-requires 'self';
requires 'Object::Enum';
build_requires 'Test::More';
use warnings;
use strict;
-use self;
use Carp qw/croak confess/;
use Object::Enum;
=cut
-our $VERSION = '0.03';
+our $VERSION = '0.04';
=head1 SYNOPSIS
=cut
sub register_column {
- my ($column, $info) = args;
+ my $self = shift;
+ my ($column, $info) = @_;
- self->next::method(args);
+ $self->next::method(@_);
return unless defined $info->{is_enum} and $info->{is_enum};
$values->{$info->{default_value}} = 1;
}
- self->inflate_column(
+ $self->inflate_column(
$column => {
inflate => sub {
my $val = shift;