[freeside-commits] freeside/FS/FS/part_export http_status.pm, 1.1, 1.2

Ivan,,, ivan at wavetail.420.am
Thu Nov 10 13:55:51 PST 2011


Update of /home/cvs/cvsroot/freeside/FS/FS/part_export
In directory wavetail.420.am:/tmp/cvs-serv25146/FS/FS/part_export

Modified Files:
	http_status.pm 
Log Message:
DSL status pulling, RT#13656

Index: http_status.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_export/http_status.pm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -w -d -r1.1 -r1.2
--- http_status.pm	10 Nov 2011 03:30:07 -0000	1.1
+++ http_status.pm	10 Nov 2011 21:55:49 -0000	1.2
@@ -1,8 +1,9 @@
-packages FS::part_export::http_status;
+package FS::part_export::http_status;
 use base qw( FS::part_export );
 
 use strict;
 use warnings;
+use vars qw( %info );
 use LWP::UserAgent;
 use HTTP::Request::Common;
 
@@ -29,7 +30,7 @@
   my $url = $self->option('url');
   {
     no strict 'refs';
-    ${$_} = $svc_x->getfield($x) foreach $svc_x->fields;
+    ${$_} = $svc_x->getfield($_) foreach $svc_x->fields;
 
     $url = eval(qq($url));
   }
@@ -41,7 +42,6 @@
   $$htmlref = $response->is_error ? $response->error_as_HTML
                                   : $response->content;
 
-
   #hash data note yet implemented for this status export
 
 }



More information about the freeside-commits mailing list