$body is a hashref like:
{ 'C002' => { '1001' => '231' } }
The top level should have only one composite "Cxxx" key.
To install Business::EDI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Business::EDI
CPAN shell
perl -MCPAN -e shell install Business::EDI
For more information on module installation, please visit the detailed CPAN module installation guide.