[Moose-commits] r7564 - Mouse/trunk/author
sartak at code2.0beta.co.uk
sartak at code2.0beta.co.uk
Thu Feb 5 16:53:25 GMT 2009
Author: sartak
Date: 2009-02-05 08:53:24 -0800 (Thu, 05 Feb 2009)
New Revision: 7564
Modified:
Mouse/trunk/author/generate-mouse-tiny.pl
Log:
We no longer have shebangs in pm files, so stop removing package lines
Modified: Mouse/trunk/author/generate-mouse-tiny.pl
===================================================================
--- Mouse/trunk/author/generate-mouse-tiny.pl 2009-02-05 16:53:21 UTC (rev 7563)
+++ Mouse/trunk/author/generate-mouse-tiny.pl 2009-02-05 16:53:24 UTC (rev 7564)
@@ -26,7 +26,6 @@
$contents =~ s/__END__\b.*//s; # remove documentation
$contents =~ s/1;\n*$//; # remove success indicator
- $contents =~ s/^.*\n//; # remove shebang
$contents =~ s/^use Mouse\S*\s*\n//mg; # we're already loading everything
$contents =~ s/^use (Mouse\S*)\s*(.+);/BEGIN { $1->import($2) }/mg;
More information about the Moose-commits
mailing list