Add version dep on SQLT, put back original BEGIN blocks on helper routines
[dbsrgits/DBIx-Class-ResultSource-MultipleTableInheritance.git] / lib / DBIx / Class / ResultSource / MultipleTableInheritance.pm
index dbe0f75..1b0dea0 100644 (file)
@@ -250,7 +250,9 @@ method add_relationship ($name, $f_source, $cond, $attrs) {
 }
 
 BEGIN {
-  # Helper methods
+
+  # helper routines
+
   sub argify {
     my @names = @_;
     map '_' . $_, @names;
@@ -294,6 +296,9 @@ BEGIN {
       $function$ LANGUAGE plpgsql;
     };
   }
+}
+
+BEGIN {
 
   sub arg_hash {
     my $source = shift;