Is the excel file in the current working directory (the location where you are running the perl script). If not you might want to move the script to where the excel file exists or change the $xlfile value to include the whole
path. This would be my first assumption.