Oopser - much, much oopser - you are missing
use strict;
use warnings;
Life's too short for me to try to put everything needed by strict in for you, but I can see several potential problems. Perhaps the most likely is that Excel may be putting up a dialogue box when it tries to save (it certainly would if the file exists already or the directory is mis-spelled or ...), but since you have Excel hidden (why?), you can't see it. And since you don't have warnings, Perl won't tell you. Of course, it's possible that there's a simple typo somewhere that strict would pick up as well or instead.
Regards,
John Davies | [reply] [d/l] [select] |