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:[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