in reply to to get the un-forseen errors

If you wish to trap the error message before it gets displayed to STDERR then use an eval block. The error message (if any) will be in $@:
use warnings; use strict; my $thing; eval {$thing->Cells(1234)}; print "Error <$@>" if $@;

Replies are listed 'Best First'.
Re^2: to get the un-forseen errors
by ikegami (Patriarch) on Feb 17, 2010 at 12:13 UTC
    Correct. Of course, in this case, it would be better to check
    defined($thing)
    and avoid the error in the first place.