Check Moo version at runtime
[dbsrgits/SQL-Translator.git] / lib / SQL / Translator / Schema / Graph.pm
index 8d8c532..d040273 100644 (file)
@@ -1,8 +1,17 @@
-package SQL::Translator::Schema::Graph;
-
+package # hide from pause
+  SQL::Translator::Schema::Graph;
 use strict;
 use warnings;
 
+use Carp;
+carp(
+  'SQL::Translator::Schema::Graph appears to be dead unmaintained and untested '
+. 'code. It will remain a part of the SQL::Translator distribution for some '
+. 'time, but eventually will be cleaned away. Please file a bug or contact the '
+. 'maintainers and let them know you are still using this functionality'
+);
+
+
 use base 'Class::Base';
 
 use Data::Dumper;
@@ -29,7 +38,7 @@ use Class::MakeMethods::Template::Hash (
   'number --counter' => [ qw( order ) ],
 );
 
-use vars qw/$DEBUG/;
+our $DEBUG;
 $DEBUG = 0 unless defined $DEBUG;
 
 sub init {