8
0
Files
apache2-mod_perl/avoid-broken-provides.diff

13 lines
495 B
Diff
Raw Normal View History

--- httpd24/Apache-Test/lib/Apache/TestRequest.pm
+++ httpd24/Apache-Test/lib/Apache/TestRequest.pm
@@ -43,7 +43,8 @@ unless ($ENV{APACHE_TEST_PRETEND_NO_LWP}
require HTTP::Request::Common;
unless (defined &HTTP::Request::Common::OPTIONS) {
- package HTTP::Request::Common;
+ package
+ HTTP::Request::Common;
no strict 'vars';
*OPTIONS = sub { _simple_req(OPTIONS => @_) };
push @EXPORT, 'OPTIONS';