Your Windows perl is older. \K is a moderately more recent feature.
In reply to Re^4: want way to drag tk window by tybalt89 in thread want way to drag tk window by redss