Changeset be98ba5 for perl/lib/BarnOwl
- Timestamp:
- Jul 8, 2007, 3:39:57 PM (17 years ago)
- Branches:
- master, barnowl_perlaim, debian, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 5763474
- Parents:
- b363d83
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
perl/lib/BarnOwl/ModuleLoader.pm
r9de39410 rbe98ba5 6 6 use lib (BarnOwl::get_data_dir() . "/modules/"); 7 7 use PAR (BarnOwl::get_data_dir() . "/modules/*.par"); 8 use PAR ( $ENV{HOME} . "/.owl/modules/*.par");8 use PAR (BarnOwl::get_config_dir() . "/modules/*.par"); 9 9 10 10 sub load_all { 11 11 my %modules; 12 12 my @modules; 13 14 my @moddirs = (); 15 push @moddirs, BarnOwl::get_data_dir() . "/modules"; 16 push @moddirs, BarnOwl::get_config_dir() . "/modules"; 13 17 14 for my $dir ( BarnOwl::get_data_dir() . "/modules", 15 $ENV{HOME} . "/.owl/modules" ) { 18 for my $dir (@moddirs) { 16 19 opendir(my $dh, $dir) or next; 17 20 while(defined(my $f = readdir($dh))) {
Note: See TracChangeset
for help on using the changeset viewer.