... elsif (/size(\d+)/) { $format->set_size($1); } else ... #### Argument "_size" isn't numeric in multiplication (*) at D:/Perl/site/lib/Spreadsheet/Format.pm line 225 (#1) (W numeric) The indicated string was fed as an argument to an operator that expected a numeric value instead. If you're fortunate the message will identify which operator was so unfortunate. #### $format->set_size(0+$1);