X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FCDBICompat%2FRelationship.pm;h=5d71924d752a6983ebc9b737d7df915cc93d6db1;hb=bbdc039bb73622702cbaaa25890349e3f2664fbf;hp=55fff1050025518b865248bcb710cd3c3ef92de6;hpb=1097f5e4f0e0a5fc2c30851cb9a0141712a85fcf;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/lib/DBIx/Class/CDBICompat/Relationship.pm b/lib/DBIx/Class/CDBICompat/Relationship.pm index 55fff10..5d71924 100644 --- a/lib/DBIx/Class/CDBICompat/Relationship.pm +++ b/lib/DBIx/Class/CDBICompat/Relationship.pm @@ -3,11 +3,11 @@ package use strict; use warnings; - +use Sub::Name (); =head1 NAME -DBIx::Class::CDBICompat::Relationship +DBIx::Class::CDBICompat::Relationship - Emulate the Class::DBI::Relationship object returned from meta_info() =head1 DESCRIPTION @@ -36,7 +36,7 @@ for my $method (keys %method2key) { }; no strict 'refs'; - *{$method} = $code; + *{$method} = Sub::Name::subname $method, $code; } 1;