projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DEL out voided payments to distinguish them visually better
[freeside.git]
/
htetc
/
global.asa
diff --git
a/htetc/global.asa
b/htetc/global.asa
index
4358e87
..
782e062
100644
(file)
--- a/
htetc/global.asa
+++ b/
htetc/global.asa
@@
-15,6
+15,10
@@
use HTML::Entities;
use IO::Handle;
use IO::File;
use Net::Whois::Raw qw(whois);
use IO::Handle;
use IO::File;
use Net::Whois::Raw qw(whois);
+if ( $] < 5.006 ) {
+ eval "use Net::Whois::Raw 0.32 qw(whois)";
+ die $@ if $@;
+}
use Business::CreditCard;
use String::Approx qw(amatch);
use Chart::LinesPoints;
use Business::CreditCard;
use String::Approx qw(amatch);
use Chart::LinesPoints;
@@
-198,7
+202,9
@@
sub sprintAutoProfile {
sub include {
( my $file = shift ) =~ s(^/)(%%%FREESIDE_DOCUMENT_ROOT%%%/);
sub include {
( my $file = shift ) =~ s(^/)(%%%FREESIDE_DOCUMENT_ROOT%%%/);
- ${$Response->TrapInclude($file, @_)};
+ #broken in 5.005# ${$Response->TrapInclude($file, @_)};
+ my $ref = $Response->TrapInclude($file, @_);
+ $$ref;
}
if ( defined(@DBIx::Profile::ISA) ) {
}
if ( defined(@DBIx::Profile::ISA) ) {