lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pnas...@apache.org
Subject [Lucene.Net] svn commit: r1083298 - /incubator/lucene.net/site/trunk/lib/view.pm
Date Sat, 19 Mar 2011 21:35:46 GMT
Author: pnasser
Date: Sat Mar 19 21:35:46 2011
New Revision: 1083298

URL: http://svn.apache.org/viewvc?rev=1083298&view=rev
Log:
use Switch

Modified:
    incubator/lucene.net/site/trunk/lib/view.pm

Modified: incubator/lucene.net/site/trunk/lib/view.pm
URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/trunk/lib/view.pm?rev=1083298&r1=1083297&r2=1083298&view=diff
==============================================================================
--- incubator/lucene.net/site/trunk/lib/view.pm (original)
+++ incubator/lucene.net/site/trunk/lib/view.pm Sat Mar 19 21:35:46 2011
@@ -32,6 +32,7 @@ management in path.pm.
 use strict;
 use warnings;
 use Carp;
+use Switch;
 use Dotiac::DTL;
 use Dotiac::DTL::Addon::markup;
 use ASF::Util qw( read_text_file );
@@ -97,7 +98,7 @@ sub sitemap {
 
 
 sub _tagline {
-	$file = "faq.mdtext"; # pop(split m!/!, shift);
+	my $file = "faq.mdtext"; # pop(split m!/!, shift);
      
 	switch ($file) {
 		case "code.mdtext"	{ return "<h1>Grab the Code</h1><h2>Binaries, Source,
Archives, whatever you need...</h2>" }



Mime
View raw message