From 07ee6ee40c1278b3746a4745cfc3184c34489355 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Sat, 13 May 2017 23:42:43 -0700 Subject: [PATCH] add license header --- modules/urban | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/modules/urban b/modules/urban index 024412b6..1b9c651f 100755 --- a/modules/urban +++ b/modules/urban @@ -1,5 +1,9 @@ #!/usr/bin/env perl +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + use warnings; use strict; @@ -31,7 +35,7 @@ print "Missing phrase -- $usage" and exit if @$args == 0; $args = join(' ', @$args); my $ud = WebService::UrbanDictionary->new; -my $results = $ud->request($args); +my $results = $ud->request($args); sub sort_entries { if (defined $sort) { @@ -90,7 +94,7 @@ if (defined $show_all or defined $match) { if ($@) { my $err = $@; - + $err =~ s/; marked by <-- HERE.*/: $match/; print "Oops, $err\n";