From 5fd5a2093478eb338d3a07b4f94ac04da7748c24 Mon Sep 17 00:00:00 2001 From: lookshe Date: Wed, 7 Mar 2012 03:43:26 +0100 Subject: little bugfixes for new wiki scripts --- wiki2.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wiki2.pl') diff --git a/wiki2.pl b/wiki2.pl index 87c7c8c..c2033ad 100644 --- a/wiki2.pl +++ b/wiki2.pl @@ -15,7 +15,7 @@ if (!$lang) { my $wiki = WWW::Wikipedia->new( language => $lang); -my $result = $wiki->search( $ARGV[0] ); +my $result = $wiki->search( "$ARGV[0]" ); if (defined $result) { my @lines = split('\n', $result->text()); my @newlines; -- cgit v1.2.3