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:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to