The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

->unblessed($body, \@codes)

NAME

Business::EDI - Top level class for generating U.N. EDI interchange objects and subobjects.

SYNOPSIS

  use Business::EDI;
  
  my $rtc = Business::EDI->codelist('ResponseTypeCode', $json) or die "Unrecognized code!";
  printf "EDI response type: %s - %s (%s)\n", $rtc->code, $rtc->label, $rtc->value;

DESCRIPTION

At present, the EDI input processed by Business::EDI objects is JSON from the edi4r ruby library.

WARNINGS

This code is preliminary. EDI is a big spec with many revisions, and the coverage for all segments, elements and message types is not yet present. At the lowest level, all codelists from the most recent spec (D09B) are present.

SEE ALSO

edi4r - http://edi4r.rubyforge.org

AUTHOR

Joe Atzberger