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

NAME

XML::Edifact - Perl module to handle XML::Edifact messages.

SYNOPSIS

use XML::Edifact;

        &XML::Edifact::open_dbm("data");
        &XML::Edifact::read_edi_message($ARGV[0]);
print   &XML::Edifact::make_xml_message();
        &XML::Edifact::close_dbm();
0;

---------------------------------------------------------------

use XML::Edifact;

        &XML::Edifact::open_dbm("data");
        &XML::Edifact::read_xml_message($ARGV[0]);
print   &XML::Edifact::make_edi_message();
        &XML::Edifact::close_dbm();
0;

DESCRIPTION

XML-Edifact started as Onyx-EDI which was a gawk script. XML::Edifact-0.30 still shows its bad anchesor called a2p in some parts.

The current module is just able to open and close the SDBM files found in the directory pointed by open_dbm. Read a EDIFACT message into a buffer global to the package, and to print this message as XML on STDOUT.

The best think you can currently do with it: Run the regession test found under Installation in the README file, using you own files.

The second best: Just view the files in ./examples with your favourite pager. Anything that can be found after regression test, can also be found in this directory.

If you have other EDIFACT files, I would like to include them into the next version. I'm also open to any comments, as told "anything is still in flux" !

AUTHOR

Michael Koehne, Kraehe@Bakunin.North.De

SEE ALSO

perl(1), XML::Parser(3), UN/EDIFACT Draft.