X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FConfig-Any.git;a=blobdiff_plain;f=lib%2FConfig%2FAny%2FINI.pm;h=132f07934e64d7cc2e3f89c7b54f1ed87ef47592;hp=e0d72152df3a86f978d40a326c09380b6edba32f;hb=dcfb1d1d1a544d27a82cb174168df23abc539acb;hpb=4198bf8c36c5f90c71845bd2505d953d3422037e diff --git a/lib/Config/Any/INI.pm b/lib/Config/Any/INI.pm index e0d7215..132f079 100644 --- a/lib/Config/Any/INI.pm +++ b/lib/Config/Any/INI.pm @@ -3,6 +3,8 @@ package Config::Any::INI; use strict; use warnings; +use base 'Config::Any::Base'; + our $MAP_SECTION_SPACE_TO_NESTED_KEY = 1; =head1 NAME @@ -66,16 +68,13 @@ sub load { return $out; } -=head2 is_supported( ) +=head2 requires_all_of( ) -Returns true if L is available. +Specifies that this module requires L in order to work. =cut -sub is_supported { - eval { require Config::Tiny; }; - return $@ ? 0 : 1; -} +sub requires_all_of { 'Config::Tiny' } =head1 PACKAGE VARIABLES