in reply to Multi_line error

This looks like a failed merge attempt. If you look at the blocks between ===, you will find that both variables are declared twice, but with different value for $oldVersion.

For an explanation of what Perl sees, see the Perl Documentation on Quotes and Quote-like Operators. But you don't seem to want a here-document there - the << and === and >>> are the remains of a failed/untested merge.