I had some code working to open Mojo::UserAgent, and assign a user_agent, 
but now I need
to call a Transactor?

I think I got that, but detect Proxy has turned into :
Mojo::UserAgent::detect_proxy is DEPRECATED in favor of 
Mojo::UserAgent::Proxy::detect at 
/usr/lib/perl5/site_perl/5.16.2/Mojo/UserAgent.pm line 70.

I have tried using both
        $ua->request_timeout($p->_timeout) -> Proxy->detect;
and
        $ua->request_timeout($p->_timeout) -> Proxy::detect;

and both say not found.  So how do I call the Proxy detect?

I  get 

Can't locate object method "detect" via package "Proxy" (perhaps you forgot 
to load "Proxy"?) at ./crawl.pl line 933

or

Can't locate object method "detect" via package "Proxy" (perhaps you forgot 
to load "Proxy"?) at ./crawl.pl line 935.

Why did things get so much more complicated?


Thanks...


-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to