Name

MV_STATE_REQUIRED —

SYNOPSIS

{ }

DESCRIPTION

VARIABLE TYPE

Catalog variable

EXAMPLES

No examples are available at this time. We do consider this a problem and will try to supply some.

NOTES

AVAILABILITY

MV_STATE_REQUIRED is available in Interchange versions:

4.6.0-5.9.0 (git-head)

SOURCE

Interchange 5.9.0:

Source: lib/Vend/Order.pm
Line 1257 (context shows lines 1247-1261 in _multistate():1248)


sub _multistate {
my($ref,$var,$val) = @_;

my $error;
my $cval = _get_cval($ref, $var);

if(my $sval = $state_template{$cval}) {
  $error = 1 unless $sval =~ /\s$val\s/;
}
elsif($::Variable->{MV_STATE_REQUIRED}) {
    " $::Variable->{MV_STATE_REQUIRED} " =~ /\s$cval\s/
    and
  length($val) < 2 and $error = 1;
}

AUTHORS

Interchange Development Group

SEE ALSO

DocBook! Interchange!