diff options
author | jeff <jeff> | 2008-03-14 18:17:33 +0000 |
---|---|---|
committer | jeff <jeff> | 2008-03-14 18:17:33 +0000 |
commit | 20887ceb08f6bf11e3492f4ef3515f1de1ffeb50 (patch) | |
tree | 14068b65e47f439fa9a69fc8a5034f4e346cbb2f | |
parent | 4c07e41df33c33dcec4caa960114fc37e72fa4e8 (diff) |
cleanup and dependancies
-rw-r--r-- | Changes | 4 | ||||
-rw-r--r-- | MANIFEST | 2 | ||||
-rw-r--r-- | META.yml | 6 | ||||
-rw-r--r-- | Makefile.PL | 5 | ||||
-rw-r--r-- | lib/Net/Plesk.pm | 11 | ||||
-rw-r--r-- | lib/Net/Plesk/Method.pm | 1 |
6 files changed, 19 insertions, 10 deletions
@@ -1,5 +1,9 @@ Revision history for Net::Plesk +0.03 Fri Mar 14 14:16:04 2008 EDT + - cite dependancies and other meta work + - not really an Exporter and no need for Data::Dumper + 0.02 Fri Nov 17 21:17:58 2006 EST - improved error handling - domain additions accept templating and make web hosting optional @@ -1,3 +1,4 @@ +Changes Makefile.PL MANIFEST README @@ -14,3 +15,4 @@ lib/Net/Plesk/Method/mail_add.pm lib/Net/Plesk/Method/mail_remove.pm lib/Net/Plesk/Method/mail_set.pm t/Net-Plesk.t +META.yml Module meta-data (added by MakeMaker) @@ -1,10 +1,14 @@ # http://module-build.sourceforge.net/META-spec.html #XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX# name: Net-Plesk -version: 0.02 +version: 0.03 version_from: lib/Net/Plesk.pm installdirs: site requires: + LWP: 0 + XML::Simple: 0 + XML::XPath: 0 + XML::XPath::XMLParser: 0 distribution_type: module generated_by: ExtUtils::MakeMaker version 6.17 diff --git a/Makefile.PL b/Makefile.PL index 44bed2e..fb2ea2f 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -4,6 +4,9 @@ use ExtUtils::MakeMaker; WriteMakefile( 'NAME' => 'Net::Plesk', 'VERSION_FROM' => 'lib/Net/Plesk.pm', # finds $VERSION - 'PREREQ_PM' => { + 'PREREQ_PM' => { 'XML::Simple' => 0, + 'XML::XPath' => 0, + 'XML::XPath::XMLParser' => 0, + 'LWP' => 0, }, ); diff --git a/lib/Net/Plesk.pm b/lib/Net/Plesk.pm index 62a6811..92d42e7 100644 --- a/lib/Net/Plesk.pm +++ b/lib/Net/Plesk.pm @@ -3,12 +3,9 @@ package Net::Plesk; use 5.005; use strict; -use vars qw( $VERSION @ISA $AUTOLOAD $DEBUG $PROTO_VERSION $POST_URL - @EXPORT_OK %EXPORT_TAGS ); # @EXPORT +use vars qw( $VERSION @ISA $AUTOLOAD $DEBUG $PROTO_VERSION $POST_URL ); -use Exporter; use LWP; -use Data::Dumper; use Net::Plesk::Response; use Net::Plesk::Method; @@ -22,9 +19,9 @@ use Net::Plesk::Method::client_add; use Net::Plesk::Method::client_get; use Net::Plesk::Method::client_ippool_add_ip; -@ISA = qw(Exporter); +@ISA = (); -$VERSION = '0.02'; +$VERSION = '0.03'; $PROTO_VERSION = '1.4.1.0'; @@ -208,7 +205,7 @@ sub AUTOLOAD { my $response = new Net::Plesk::Response $res->content; - warn Dumper( $response ) + warn "$response\n" if $DEBUG; $response; diff --git a/lib/Net/Plesk/Method.pm b/lib/Net/Plesk/Method.pm index df2acd4..b58f68a 100644 --- a/lib/Net/Plesk/Method.pm +++ b/lib/Net/Plesk/Method.pm @@ -20,7 +20,6 @@ Net::Plesk::Method - Perl base class for Plesk XML Remote API Method =head1 SYNOPSIS - use Exporter; @ISA = qw( Net::Plesk::Method ); =head1 DESCRIPTION |