Anonymous Monk has asked for the
wisdom of the Perl Monks concerning the following question:
I process a semicolon separated file. In doing so I use
my @parts = split(/;/,$_);
then I process some fields and then use
to get it together.
In the file there are some empty fields at the end of the lines. In fact the last column ist e.g. always empty (except of the header).
The semicolons at the end of the line are lost through split and join.
How could I prevent it?