-# put customized files into @customfiles
-my (@menufiles, %dir_h);
-
-if ($opt_n) {
- @customfiles = ();
- @menufiles = ($menufile);
-} else {
- tie %dir_h, 'IO::Dir', $basedir;
- @menufiles = map { "$basedir/$_" } grep { /.*?_$menufile$/ } keys %dir_h;
- unshift @menufiles, "$basedir/$menufile";
-}