AdminSub — restrict specific global subroutines to catalogs listed under AllowGlobal directive
Restrict usage of specified global subroutines to catalogs
listed under the AllowGlobal
directive.
If AdminSub is unspecified, all global subroutines can be used by all catalogs.
Interchange 5.9.0:
Source: lib/Vend/Config.pm
Line 3013 (context shows lines 3013-3030)
sub parse_boolean { my($item,$settings) = @_; my(@setting) = grep /\S/, split /[\s,]+/, $settings; my $c; if(defined $C) { $c = $C->{$item} || {}; } else { no strict 'refs'; $c = ${"Global::$item"} || {}; } for (@setting) { $c->{$_} = 1; } return $c; }