projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbe420b
)
Fwd: [russell-belfast-pm@futureless.org: Re: This is the __END__]
author
Michael G. Schwern
<schwern@pobox.com>
Sat, 15 Dec 2001 15:08:29 +0000
(10:08 -0500)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Sun, 16 Dec 2001 03:24:34 +0000
(
03:24
+0000)
Message-ID: <
20011215200829
.GK1548@blackrider>
p4raw-id: //depot/perl@13713
lib/AutoSplit.pm
patch
|
blob
|
history
diff --git
a/lib/AutoSplit.pm
b/lib/AutoSplit.pm
index
bf4d811
..
3c45d92
100644
(file)
--- a/
lib/AutoSplit.pm
+++ b/
lib/AutoSplit.pm
@@
-238,6
+238,7
@@
sub autosplit_file {
$in_pod = 1 if /^=\w/;
$in_pod = 0 if /^=cut/;
next if ($in_pod || /^=cut/);
+ next if /^\s*#/;
# record last package name seen
$def_package = $1 if (m/^\s*package\s+([\w:]+)\s*;/);