ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/App-Staticperl/mkbundle
(Generate patch)

Comparing cvsroot/App-Staticperl/mkbundle (file contents):
Revision 1.6 by root, Tue Dec 7 09:27:54 2010 UTC vs.
Revision 1.8 by root, Wed Dec 8 09:13:55 2010 UTC

88 or die "$autodir/$ix: $!"; 88 or die "$autodir/$ix: $!";
89 89
90 my $package; 90 my $package;
91 91
92 while (<$fh>) { 92 while (<$fh>) {
93 if (/^\s*sub\s+([^[:space:];]+)\s*;?\s*$/) { 93 if (/^\s*sub\s+ ([^[:space:];]+) \s* (?:\([^)]*\))? \s*;?\s*$/x) {
94 my $al = "auto/$package/$1.al"; 94 my $al = "auto/$package/$1.al";
95 my $inc = find_inc $al; 95 my $inc = find_inc $al;
96 96
97 defined $inc or die "$al: autoload file not found, but should be there.\n"; 97 defined $inc or die "$al: autoload file not found, but should be there.\n";
98 98

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines