Name

USPS_MODULO —

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

USPS_MODULO is available in Interchange versions:

4.6.0-5.7.0 (git-head)

SOURCE

Interchange 5.7.0:

Source: code/UserTag/usps_query.tag
Line 86 (context shows lines 76-90)

}

if ($opt->{country}) {
$mailtype = lc ($opt->{mailtype} || $::Variable->{USPS_MAILTYPE} || 'package');
unless ($mailtypes{$mailtype}) {
  $error_msg = "unknown mail type '$mailtype'.";
  return;
}
  }

  my $modulo = $opt->{modulo} || $::Variable->{USPS_MODULO};
  if ($modulo and ($modulo < $weight)) {
$m_rep = int $weight / $modulo;
$m_mod = $weight % $modulo;
$weight = $modulo;

AUTHORS

Interchange Development Group

SEE ALSO

DocBook! Interchange!