Removed use of perl switch (when has been marked unstable in 5.18)