cleanup and dependancies
authorjeff <jeff>
Fri, 14 Mar 2008 18:17:33 +0000 (18:17 +0000)
committerjeff <jeff>
Fri, 14 Mar 2008 18:17:33 +0000 (18:17 +0000)
Changes
MANIFEST
META.yml
Makefile.PL
lib/Net/Plesk.pm
lib/Net/Plesk/Method.pm

diff --git a/Changes b/Changes
index ad7a8db..86973c4 100644 (file)
--- a/Changes
+++ b/Changes
@@ -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
index 8043637..81c7750 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -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)
index d4613f7..e23c925 100644 (file)
--- a/META.yml
+++ b/META.yml
@@ -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
index 44bed2e..fb2ea2f 100644 (file)
@@ -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,
                       },
 );
index 62a6811..92d42e7 100644 (file)
@@ -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;
index df2acd4..b58f68a 100644 (file)
@@ -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