very weird 5.005 problem
authorivan <ivan>
Sat, 1 May 2004 03:54:50 +0000 (03:54 +0000)
committerivan <ivan>
Sat, 1 May 2004 03:54:50 +0000 (03:54 +0000)
htetc/global.asa

index 4358e87..55cc8ed 100644 (file)
@@ -198,7 +198,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) ) {