mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
Meta.pm: false bottom for Module::CoreList
git-svn-id: https://svn.fhem.de/fhem/trunk@19240 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
1bce410b2a
commit
cf448ec2db
@ -1051,18 +1051,20 @@ sub ModuleIsPerlCore {
|
||||
return 1 if ( $module =~ /^Perl$/i );
|
||||
|
||||
eval {
|
||||
require Module::CoreList;
|
||||
require sModule::CoreList;
|
||||
1;
|
||||
};
|
||||
|
||||
if ($@) {
|
||||
if ( $@
|
||||
|| !defined(&Module::CoreList::is_core)
|
||||
|| !defined(&Module::CoreList::first_release_by_date) )
|
||||
{
|
||||
$@ = undef;
|
||||
|
||||
# return (
|
||||
# grep ( /^$module$/, @perlCoreModules )
|
||||
# ? 1
|
||||
# : 0
|
||||
# );
|
||||
return (
|
||||
grep ( /^$module$/, @perlCoreModules )
|
||||
? 1
|
||||
: 0
|
||||
);
|
||||
}
|
||||
else {
|
||||
return (
|
||||
@ -3275,7 +3277,7 @@ sub __SetXVersion {
|
||||
"abstract": "FHEM Entwickler Paket, um Metadaten Unterstützung zu aktivieren"
|
||||
}
|
||||
},
|
||||
"version": "v0.6.1",
|
||||
"version": "v0.6.2",
|
||||
"release_status": "testing",
|
||||
"x_changelog": {
|
||||
"2019-04-18": {
|
||||
|
Loading…
Reference in New Issue
Block a user