in reply to don't understand bless
I would check the value of $Excel to see if it is what you think it is. From the perlop man page:
$a = $b or $c; # bug: this is wrong ($a = $b) or $c; # really means this $a = $b || $c; # better written this way
In Section
Seekers of Perl Wisdom