diff options
author | ivan <ivan> | 2002-06-21 20:17:43 +0000 |
---|---|---|
committer | ivan <ivan> | 2002-06-21 20:17:43 +0000 |
commit | 185eb6429f5ae208dfaf206395db4d3a16fe8ae3 (patch) | |
tree | 82d75218bf9938ae0f1eb5cef2fd3c806ac37633 | |
parent | 1e14a5e07df71cf985921cefac53b8873e813bcb (diff) |
debugging option
-rw-r--r-- | FS/FS/part_export/infostreet.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/FS/FS/part_export/infostreet.pm b/FS/FS/part_export/infostreet.pm index 8a68a2077..a2fc049f4 100644 --- a/FS/FS/part_export/infostreet.pm +++ b/FS/FS/part_export/infostreet.pm @@ -1,11 +1,13 @@ package FS::part_export::infostreet; -use vars qw(@ISA %infostreet2cust_main); +use vars qw(@ISA %infostreet2cust_main $DEBUG); use FS::UID qw(dbh); use FS::part_export; @ISA = qw(FS::part_export); +$DEBUG = 0; + %infostreet2cust_main = ( 'firstName' => 'first', 'lastName' => 'last', @@ -151,6 +153,8 @@ sub infostreet_setContact { sub infostreet_command { #subroutine, not method my($url, $username, $password, $groupID, $method, @args) = @_; + warn "[FS::part_export::infostreet] $method ".join(' ', @args)."\n" if $DEBUG; + #quelle hack if ( $method =~ /,/ ) { foreach my $part ( split(/,\s*/, $method) ) { |