Changeset 745 for trunk/core/tools/check_requires.pl
- Timestamp:
- 11/16/08 20:35:15 (4 years ago)
- File:
-
- 1 edited
-
trunk/core/tools/check_requires.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/core/tools/check_requires.pl
r14 r745 11 11 # problems. 12 12 # 13 use File::Find; 14 use strict; 15 13 16 my $trace = 0; 14 my @files = grep { !m#/CPAN/# } split(/\n/, `find ./TWiki -name '*.pm' -print`); 15 my @modules = @files; 17 my (@files, @modules); 18 File::Find::find( sub { /\.pm\z/ && !m#/CPAN/# 19 && push( @files, $File::Find::name ) 20 && push( @modules, $File::Find::name ) 21 }, './TWiki' ); 16 22 @modules = sort { length($a) < length($b) } 17 23 map { s/\.pm$//; s#^\./##; s#/#::#g; $_ } @modules;
Note: See TracChangeset
for help on using the changeset viewer.
