From: Shawn M Moore Date: Thu, 5 Feb 2009 16:53:24 +0000 (+0000) Subject: We no longer have shebangs in pm files, so stop removing package lines X-Git-Tag: 0.19~44 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c9ef7f3defc89a70dbb77b687276e933a4902fed;p=gitmo%2FMouse.git We no longer have shebangs in pm files, so stop removing package lines --- diff --git a/author/generate-mouse-tiny.pl b/author/generate-mouse-tiny.pl index 04a46f9..f594601 100755 --- a/author/generate-mouse-tiny.pl +++ b/author/generate-mouse-tiny.pl @@ -26,7 +26,6 @@ for my $file (uniq 'lib/Mouse/Util.pm', sort @files) { $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;