use strict; use warnings; use 5.010; #if you are using version 5.10 or higher.