[Module-build-general] Base.pm_0.19_04: no pm-files
Status: Beta
Brought to you by:
kwilliams
|
From: Roland B. <rol...@ff...> - 2003-08-16 18:41:53
|
When there are no pm_files this results in an error.
Maybe an empty hash should be returned instead.
Regards,
Roland
--- Base.pm_0.19_04 Fri Aug 01 17:04:20 2003
+++ Base.pm Sat Aug 16 19:54:12 2003
@@ -1107,7 +1107,7 @@
return { map $self->localize_file_path($_), %$files };
}
- return unless -d 'lib';
+ return {} unless -d 'lib';
return { map {$_, $_} @{ $self->rscan_dir('lib', qr{\.$type$}) } };
}
--
Roland Bauer
http://www.fff.at/contact/
|