WWW-Search
view release on metacpan or search on metacpan
Programs/AutoSearch view on Meta::CPAN
$search->http_proxy_pwd($opts{'http_proxy_pwd'});
} # if
} # if
elsif ($opts{'env_proxy'})
{
$search->env_proxy($opts{'env_proxy'});
}
elsif (0)
{
# This is the OLD code:
$search->http_proxy($ENV{'HTTP_PROXY'}) if ($ENV{'HTTP_PROXY'});
$search->http_proxy($ENV{'http_proxy'}) if ($ENV{'http_proxy'});
} # if
# submit search w/options.
$search->native_query(WWW::Search::escape_query($SummaryQuery), $query_options);
$search->login($opts{'userid'}, $opts{'password'});
# Process the --ignore_channels argument(s):
my @asChannel;
foreach my $sChannel (@{$opts{'ignore_channels'}})
{
push @asChannel, split(/,/, $sChannel);
Programs/WebSearch view on Meta::CPAN
=item --lwpdebug, -l
Display low-level libwww-perl debugging information
=back
=head1 ENVIRONMENT VARIABLES
The environment variable F<http_proxy> (or F<HTTP_PROXY>)
specifies a proxy, if any.
=head1 SEE ALSO
For the library, see L<WWW::Search>.
For a more sophisticated client, see L<AutoSearch>.
Programs/WebSearch view on Meta::CPAN
my $search = new WWW::Search($sEngine);
$search->{_host} = $_host if $_host ne '';
$search->{_port} = $_port if $_port ne '';
my %hsOptions = ();
if (0 < $debuglwp) {
require LWP::Debug;
LWP::Debug::level('+');
}
$search->http_proxy($ENV{'HTTP_PROXY'}) if ($ENV{'HTTP_PROXY'});
$search->http_proxy($ENV{'http_proxy'}) if ($ENV{'http_proxy'});
if (0 < scalar(@options))
{
foreach my $sPair (@options)
{
if ($sPair =~ m/^([^=]+)=(.*)$/)
{
my ($key, $value) = ($1, $2);
# This is a bit of a hack. A set of CGI options is not
( run in 1.294 second using v1.01-cache-2.11-cpan-d7a12ab2c7f )