X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=script%2Fdbicadmin;h=2b6a456ebb4b6d431704207ce32fa0dfa38c5b63;hb=a4a02f15a49ccd4ab04bd18ff58d1de7fbe8b23f;hp=c50c50b9273bab7c61dd0d8dac53f94c9be64db9;hpb=ad81fe7d16ee1a96bcd2c69b674e2cd1ead683cd;p=dbsrgits%2FDBIx-Class.git diff --git a/script/dbicadmin b/script/dbicadmin index c50c50b..2b6a456 100755 --- a/script/dbicadmin +++ b/script/dbicadmin @@ -3,6 +3,13 @@ use strict; use warnings; +BEGIN { + use DBIx::Class; + die ( "The following modules are required for the dbicadmin utility\n" + . DBIx::Class::Optional::Dependencies->req_missing_for ('admin_script') + ) unless DBIx::Class::Optional::Dependencies->req_ok_for ('admin_script'); +} + use Getopt::Long::Descriptive; use DBIx::Class::Admin; @@ -77,15 +84,12 @@ if ($action eq 'select') { } } - - =head1 AUTHOR -Aran Deltac - -refactored by -Gordon Irving +See L. =head1 LICENSE -You may distribute this code under the same terms as Perl itself. +You may distribute this code under the same terms as Perl itself + +=cut