perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: mp2: make test fails on NetBSD 1.6.1
Date Thu, 05 Jun 2003 02:23:59 GMT
Carl Brewer wrote:
> Stas Bekman wrote:
> 
> 
>> what happens if you replace:
>>
>>   my $r = (\&{$name})->(@_);
>>
>> with:
>>
>>     require Carp;
>>     my $r = Apache::TestClient::GET->(@_);
>>     Carp::confess("oops") unless defined $r;

> Undefined subroutine &Apache::TestClient::GET called at 
> /data/src/modperl-2.0/Apache-Test/lib/Apache/TestRequest.pm line 407.
> *** Error code 2
> 
> Stop.
> make: stopped in /data/src/modperl-2.0
> 
> 
> 

Cool, now if you add:

   require Apache::TestClient;

at the beginning of sub lwp_call {

it should have loaded it on line 30 of TestRequest.pm


__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message