App-GoogleSearchUtils

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
FUNCTIONS
  google_search
    Usage:
 
     google_search(%args) -> [$status_code, $reason, $payload, \%result_meta]
 
    (DEPRECATED) Open google search page in browser.
 
    This utility can save you time when you want to open multiple queries
    (with added common prefix/suffix words) or specify some options like
    time limit. It will formulate the search URL(s) then open them for you
    in browser. You can also specify to print out the URLs instead.
 
    Aside from standard web search, you can also generate/open other
    searches like image, video, news, or map.
 
    This function is not exported.
 
    Arguments ('*' denotes required arguments):
 
    *   action => *str* (default: "open_url")

lib/App/GoogleSearchUtils.pm  view on Meta::CPAN

26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
    qq([[$url][$query]]);
}
 
$SPEC{google_search} = {
    v => 1.1,
    summary => '(DEPRECATED) Open google search page in browser',
    description => <<'_',
 
This utility can save you time when you want to open multiple queries (with
added common prefix/suffix words) or specify some options like time limit. It
will formulate the search URL(s) then open them for you in browser. You can also
specify to print out the URLs instead.
 
Aside from standard web search, you can also generate/open other searches like
image, video, news, or map.
 
_
    args => {
        queries => {
            'x.name.is_plural' => 1,
            'x.name.singular' => 'query',

lib/App/GoogleSearchUtils.pm  view on Meta::CPAN

462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
=head2 google_search
 
Usage:
 
 google_search(%args) -> [$status_code, $reason, $payload, \%result_meta]
 
(DEPRECATED) Open google search page in browser.
 
This utility can save you time when you want to open multiple queries (with
added common prefix/suffix words) or specify some options like time limit. It
will formulate the search URL(s) then open them for you in browser. You can also
specify to print out the URLs instead.
 
Aside from standard web search, you can also generate/open other searches like
image, video, news, or map.
 
This function is not exported.
 
Arguments ('*' denotes required arguments):
 
=over 4

script/google-search  view on Meta::CPAN

52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
See examples in the L</EXAMPLES> section.
 
=head1 DESCRIPTION
 
I<DEPRECATION NOTICE>: Deprecated in favor of L<web-search> from
L<App::WebSearchUtils>.
 
This utility can save you time when you want to open multiple queries (with
added common prefix/suffix words) or specify some options like time limit. It
will formulate the search URL(s) then open them for you in browser. You can also
specify to print out the URLs instead.
 
Aside from standard web search, you can also generate/open other searches like
image, video, news, or map.
 
=head1 OPTIONS
 
C<*> marks required options.
 
=head2 Main options



( run in 0.511 second using v1.01-cache-2.11-cpan-8d75d55dd25 )