From: Dave Rolsky Date: Mon, 6 Jul 2009 14:15:18 +0000 (-0500) Subject: no Win32 line endings, code formatting tweaks X-Git-Tag: 0.90~35 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7b4f6e93f6c68ee06ca2adfb380afdcac556efef;p=gitmo%2FClass-MOP.git no Win32 line endings, code formatting tweaks --- diff --git a/bench/loading-benchmark.pl b/bench/loading-benchmark.pl index 3719350..0800739 100755 --- a/bench/loading-benchmark.pl +++ b/bench/loading-benchmark.pl @@ -1,14 +1,16 @@ -#!perl -w -use strict; -use Benchmark qw(:all); - -my $module = 'Moose'; - -cmpthese timethese 10 => { - released => sub{ - system($^X, '-e', "require $module") == 0 or die; - }, - blead => sub{ - system($^X, '-Iblib/lib', '-Iblib/arch', '-e', "require $module") == 0 or die; - }, -}; +#!perl -w +use strict; +use Benchmark qw(:all); + +my $module = 'Moose'; + +cmpthese timethese 10 => { + released => sub { + system( $^X, '-e', "require $module" ) == 0 or die; + }, + blead => sub { + system( $^X, '-Iblib/lib', '-Iblib/arch', '-e', "require $module" ) + == 0 + or die; + }, +}; diff --git a/bench/loading-profile.pl b/bench/loading-profile.pl index e2781b3..5337d84 100755 --- a/bench/loading-profile.pl +++ b/bench/loading-profile.pl @@ -1,2 +1,2 @@ -#!perl -wd:NYTProf -require Moose; +#!perl -wd:NYTProf +require Moose;