Return-Path: Delivered-To: apmail-perl-dev-archive@perl.apache.org Received: (qmail 63768 invoked by uid 500); 5 Jun 2003 02:54:34 -0000 Mailing-List: contact dev-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@perl.apache.org Received: (qmail 63754 invoked from network); 5 Jun 2003 02:54:33 -0000 Received: from erato.logilune.com (HELO mail.logilune.com) (195.154.174.52) by daedalus.apache.org with SMTP; 5 Jun 2003 02:54:33 -0000 Received: from stason.org (localhost.logilune.com [127.0.0.1]) by mail.logilune.com (Postfix) with ESMTP id EBAF37AF6B; Thu, 5 Jun 2003 04:54:40 +0200 (CEST) Message-ID: <3EDEB0E1.8030603@stason.org> Date: Thu, 05 Jun 2003 12:54:25 +1000 From: Stas Bekman Organization: Hope, Humanized User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Carl Brewer Cc: mod_perl Dev Subject: Re: mp2: make test fails on NetBSD 1.6.1 References: <3EDE8850.7030807@bl.echidna.id.au> <3EDE9E47.7060404@stason.org> <3EDEA201.1070805@bl.echidna.id.au> <3EDEA689.8020706@stason.org> <3EDEA80B.5040104@bl.echidna.id.au> <3EDEA9BF.5020900@stason.org> <3EDEAA3E.5000300@bl.echidna.id.au> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Carl Brewer wrote: > Stas Bekman wrote: > > >> 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 ... > oops at /data/src/modperl-2.0/Apache-Test/lib/Apache/TestRequest.pm line > 410 probably better: require Apache::TestClient; my $r = Apache::TestClient::GET(@_); Carp::confess("oops") unless defined $r; or restore the original: require Apache::TestClient; my $r = (\&{$name})->(@_); Carp::confess("oops") unless defined $r; -- __________________________________________________________________ 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