Skip to content
This repository has been archived by the owner on Oct 15, 2022. It is now read-only.

Commit

Permalink
Added also fetching of WWW:: (for WWW::DuckDuckGo) with duckpan client
Browse files Browse the repository at this point in the history
  • Loading branch information
Getty committed Dec 10, 2013
1 parent 1004b1d commit 624d0c9
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions lib/App/DuckPAN.pm
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,10 @@ sub execute {
my @modules;
my @left_args;
for (@arr_args) {
if ($_ =~ /^dist/i || $_ =~ /^ddg/i || $_ =~ /^app/i) {
if ($_ =~ /^www/i ||
$_ =~ /^dist/i ||
$_ =~ /^ddg/i ||
$_ =~ /^app/i) {
push @modules, $_;
} elsif (lc($_) eq 'duckpan' or lc($_) eq 'upgrade') {
push @modules, 'App::DuckPAN';
Expand Down Expand Up @@ -370,15 +373,15 @@ C<duckpan help> provides more detailed information.
=over 4
=item L<https://github.com/duckduckgo/p5-app-duckpan>
=item L<https://github.com/duckduckgo/p5-app-duckpan/>
=item L<https://github.com/duckduckgo>
=item L<https://github.com/duckduckgo/>
=item L<https://duckduckgo.com>
=item L<https://duckduckgo.com/>
=item L<https://duck.co>
=item L<https://duck.co/>
=item L<http://duckpan.org>
=item L<http://duckpan.org/>
=back
Expand All @@ -398,6 +401,6 @@ B<Repository>:
B<Issue Tracker>:
https://github.com/duckduckgo/p5-app-duckpan/issues
L<https://github.com/duckduckgo/p5-app-duckpan/issues>
=cut

0 comments on commit 624d0c9

Please sign in to comment.