Replaced $piece1 with $piece3 in line 336 and following to avoid a
"my" conflict. I also commented out oldivy which contained a print
statement and therefore wouldn't compile within the problems.
These are temporary fixes, for this file in order to enable it to compile.