You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by jo...@apache.org on 2014/03/17 22:21:12 UTC

svn commit: r1578593 - /thrift/cms-site/trunk/lib/path.pm

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