From 157a14d87965d87219f915d69e6106d731bbd82c Mon Sep 17 00:00:00 2001 From: ivan Date: Thu, 23 Dec 2004 09:07:34 +0000 Subject: [PATCH] better debugging for options passed to insert method --- FS/FS/part_pkg.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/FS/FS/part_pkg.pm b/FS/FS/part_pkg.pm index 9392f4bf4..cef4a612a 100644 --- a/FS/FS/part_pkg.pm +++ b/FS/FS/part_pkg.pm @@ -136,7 +136,9 @@ the scalar will be updated with the custnum value from the cust_pkg record. sub insert { my $self = shift; my %options = @_; - warn "FS::part_pkg::insert called on $self with options %options" if $DEBUG; + warn "FS::part_pkg::insert called on $self with options ". + join(', ', map "$_=>$options{$_}", keys %options) + if $DEBUG; local $SIG{HUP} = 'IGNORE'; local $SIG{INT} = 'IGNORE'; -- 2.11.0