diff --git a/lib/SQL/Translator.pm b/lib/SQL/Translator.pm index 9a1e235c1..988e1175a 100644 --- a/lib/SQL/Translator.pm +++ b/lib/SQL/Translator.pm @@ -1,6 +1,6 @@ package SQL::Translator; -use Moo 1.000003; +use Moo; our ( $DEFAULT_SUB, $DEBUG, $ERROR ); our $VERSION = '0.11013_02'; diff --git a/lib/SQL/Translator/Parser/XML/SQLFairy.pm b/lib/SQL/Translator/Parser/XML/SQLFairy.pm index fc128f116..91d590424 100644 --- a/lib/SQL/Translator/Parser/XML/SQLFairy.pm +++ b/lib/SQL/Translator/Parser/XML/SQLFairy.pm @@ -90,7 +90,7 @@ use base qw(Exporter); use base qw/SQL::Translator::Parser/; # Doesnt do anything at the mo! use SQL::Translator::Utils 'debug'; -use XML::LibXML 1.69; +use XML::LibXML; use XML::LibXML::XPathContext; sub parse { diff --git a/lib/SQL/Translator/Schema.pm b/lib/SQL/Translator/Schema.pm index 81e1afdcf..fc5f3a73d 100644 --- a/lib/SQL/Translator/Schema.pm +++ b/lib/SQL/Translator/Schema.pm @@ -26,7 +26,7 @@ returns the database structure. =cut -use Moo 1.000003; +use Moo; use SQL::Translator::Schema::Constants; use SQL::Translator::Schema::Procedure; use SQL::Translator::Schema::Table; diff --git a/lib/SQL/Translator/Schema/Constraint.pm b/lib/SQL/Translator/Schema/Constraint.pm index 2f4192b04..d726aa50e 100644 --- a/lib/SQL/Translator/Schema/Constraint.pm +++ b/lib/SQL/Translator/Schema/Constraint.pm @@ -23,7 +23,7 @@ C is the constraint object. =cut -use Moo 1.000003; +use Moo; use SQL::Translator::Schema::Constants; use SQL::Translator::Utils qw(ex2err throw); use SQL::Translator::Role::ListAttr; diff --git a/lib/SQL/Translator/Schema/Field.pm b/lib/SQL/Translator/Schema/Field.pm index 3fec27ae2..d8680cb72 100644 --- a/lib/SQL/Translator/Schema/Field.pm +++ b/lib/SQL/Translator/Schema/Field.pm @@ -22,7 +22,7 @@ C is the field object. =cut -use Moo 1.000003; +use Moo; use SQL::Translator::Schema::Constants; use SQL::Translator::Types qw(schema_obj); use SQL::Translator::Utils qw(parse_list_arg ex2err throw carp_ro); diff --git a/lib/SQL/Translator/Schema/Index.pm b/lib/SQL/Translator/Schema/Index.pm index 1c7769d5a..5363745b9 100644 --- a/lib/SQL/Translator/Schema/Index.pm +++ b/lib/SQL/Translator/Schema/Index.pm @@ -25,7 +25,7 @@ Primary and unique keys are table constraints, not indices. =cut -use Moo 1.000003; +use Moo; use SQL::Translator::Schema::Constants; use SQL::Translator::Utils qw(ex2err throw); use SQL::Translator::Role::ListAttr; diff --git a/lib/SQL/Translator/Schema/Procedure.pm b/lib/SQL/Translator/Schema/Procedure.pm index 1a291e3b7..7236f2273 100644 --- a/lib/SQL/Translator/Schema/Procedure.pm +++ b/lib/SQL/Translator/Schema/Procedure.pm @@ -27,7 +27,7 @@ stored procedures (and possibly other pieces of nameable SQL code?). =cut -use Moo 1.000003; +use Moo; use SQL::Translator::Utils qw(ex2err); use SQL::Translator::Role::ListAttr; use SQL::Translator::Types qw(schema_obj); diff --git a/lib/SQL/Translator/Schema/Table.pm b/lib/SQL/Translator/Schema/Table.pm index 2f36e9b7a..7d2d534c3 100644 --- a/lib/SQL/Translator/Schema/Table.pm +++ b/lib/SQL/Translator/Schema/Table.pm @@ -19,7 +19,7 @@ C is the table object. =cut -use Moo 1.000003; +use Moo; use SQL::Translator::Utils qw(parse_list_arg ex2err throw carp_ro); use SQL::Translator::Types qw(schema_obj); use SQL::Translator::Role::ListAttr; diff --git a/lib/SQL/Translator/Schema/Trigger.pm b/lib/SQL/Translator/Schema/Trigger.pm index 7eab2af2e..8db8b5f24 100644 --- a/lib/SQL/Translator/Schema/Trigger.pm +++ b/lib/SQL/Translator/Schema/Trigger.pm @@ -28,7 +28,7 @@ C is the trigger object. =cut -use Moo 1.000003; +use Moo; use SQL::Translator::Utils qw(parse_list_arg ex2err throw); use SQL::Translator::Types qw(schema_obj enum); use List::MoreUtils qw(uniq); diff --git a/lib/SQL/Translator/Schema/View.pm b/lib/SQL/Translator/Schema/View.pm index 421b76245..c19501bf1 100644 --- a/lib/SQL/Translator/Schema/View.pm +++ b/lib/SQL/Translator/Schema/View.pm @@ -23,7 +23,7 @@ C is the view object. =cut -use Moo 1.000003; +use Moo; use SQL::Translator::Utils qw(ex2err); use SQL::Translator::Types qw(schema_obj); use SQL::Translator::Role::ListAttr;