move script to new api
Matt S Trout [Mon, 7 Oct 2019 05:35:49 +0000 (05:35 +0000)]
maint/podregen

index f07609f..cbb5ed2 100755 (executable)
@@ -6,13 +6,11 @@ use Data::Dumper::Compact;
 use Devel::DDCWarn;
 use SQL::Abstract::Formatter;
 use SQL::Abstract;
-use SQL::Abstract::ExtraClauses;
 
 my $ddc = Data::Dumper::Compact->new(max_width => 72);
 my $sqla = SQL::Abstract->new(
   lazy_join_sql_parts => 1,
-);
-SQL::Abstract::ExtraClauses->apply_to($sqla);
+)->plugin('+ExtraClauses');
 my $sqlaf = SQL::Abstract::Formatter->new(max_width => 72);
 
 while (1) {