Author: joes
Date: Mon Mar 17 21:21:12 2014
New Revision: 1578593

URL: http://svn.apache.org/r1578593
Log:
no functional change just simlifications

Modified:
    thrift/cms-site/trunk/lib/path.pm

Modified: thrift/cms-site/trunk/lib/path.pm
URL: 
http://svn.apache.org/viewvc/thrift/cms-site/trunk/lib/path.pm?rev=1578593&r1=1578592&r2=1578593&view=diff
==============================================================================
--- thrift/cms-site/trunk/lib/path.pm (original)
+++ thrift/cms-site/trunk/lib/path.pm Mon Mar 17 21:21:12 2014
@@ -1,19 +1,18 @@
 package path;
 use YAML::XS;
-use strict;
-use warnings;
 
-my $yaml = "";
-$yaml .= $_ while <DATA>;
+my $yaml = join "", <DATA>;
 my $conf = Load($yaml);
 
-
 our @patterns = (
     [qr/\.md(?:text)?$/, single_narrative => { conf => $conf, template => 
'default.html' }],
 );
 
 1;
 
+
+
+
 __DATA__
 text_extensions: [ 'erb', 'html', 'less', 'md', 'txt', 'xml' ]
 output_dir: publish


Reply via email to