Subject: | Warnings and error |
When trying to parse a message I get these warnings and one error:
given is experimental at C:/strawberry/perl/site/lib/Business/Edifact/Interchange.pm line 114.
when is experimental at C:/strawberry/perl/site/lib/Business/Edifact/Interchange.pm line 115.
when is experimental at C:/strawberry/perl/site/lib/Business/Edifact/Interchange.pm line 119.
when is experimental at C:/strawberry/perl/site/lib/Business/Edifact/Interchange.pm line 124.
when is experimental at C:/strawberry/perl/site/lib/Business/Edifact/Interchange.pm line 128.
when is experimental at C:/strawberry/perl/site/lib/Business/Edifact/Interchange.pm line 132.
Modification of non-creatable array value attempted, subscript -1 at C:/strawberry/perl/site/lib/Business/Edifact/Message.pm line 604, <DATA> line 1.
I looked into the code and experimentally added this:
if ( scalar @{$self->{lines}} == 0 ) {
$self->{lines}->[0]= { free_text => '' };
}
Then it parses, but I don#t see from the documentation, what I can do with it. When I run my script, I simply see "Ref:391" at the end, that's it.