this is particularly bothersome for
build.pl
, as the shebang line doesn't work (because it's not
on the first line...)
Index: create_new_extension.pl
===================================================================
--- create_new_extension.pl (revision 13640)
+++ create_new_extension.pl (working copy)
@@ -93,7 +93,7 @@
# Templates for all required files are in this script, after __DATA__
$/ = undef;
-my @DATA = split(/<<<< (.*?) >>>>/, <DATA>);
+my @DATA = split(/<<<< (.*?) >>>>\s*\n/, <DATA>);
shift @DATA;
my %data = @DATA;
my $stubPath = "$def{MODULE}/lib/TWiki/$def{STUBS}";
--
TWiki:Main/WillNorris
- 06 May 2007