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 1254 (context shows lines 1244-1258 in _multistate():1245)


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!