Subject: | Spurious error writing undef formulas |
Show quoted text
will produce the following error:
Use of uninitialized value $_[0] in substr at C:/strawberry/perl/site/lib/Parse/RecDescent.pm line 3130.
Use of uninitialized value $text in length at C:/strawberry/perl/site/lib/Parse/RecDescent.pm line 2860.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 1053.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 1053.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 1673.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 1673.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 6431.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 6431.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 3531.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 3531.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 3607.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 3607.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 1519.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 1519.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 397.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 397.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 4448.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 4448.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 6045.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 6045.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 6121.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 6121.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 551.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 551.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 654.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 654.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 814.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 814.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 4859.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 4859.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 2399.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 2399.
Use of uninitialized value $formula in concatenation (.) or string at C:/strawberry/perl/site/lib/Spreadsheet/WriteExcel/Formula.pm line 249.
Couldn't parse formula: = at $0 line 7
use strict;
use Spreadsheet::WriteExcel;
my $workbook = Spreadsheet::WriteExcel->new("bug.xls");
my $worksheet = $workbook->add_worksheet();
$worksheet->write_formula(0, 0, undef);
will produce the following error:
Use of uninitialized value $_[0] in substr at C:/strawberry/perl/site/lib/Parse/RecDescent.pm line 3130.
Use of uninitialized value $text in length at C:/strawberry/perl/site/lib/Parse/RecDescent.pm line 2860.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 1053.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 1053.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 1673.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 1673.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 6431.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 6431.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 3531.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 3531.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 3607.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 3607.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 1519.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 1519.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 397.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 397.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 4448.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 4448.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 6045.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 6045.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 6121.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 6121.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 551.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 551.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 654.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 654.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 814.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 814.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 4859.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 4859.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 2399.
Use of uninitialized value $text in substitution (s///) at (eval 50) line 2399.
Use of uninitialized value $formula in concatenation (.) or string at C:/strawberry/perl/site/lib/Spreadsheet/WriteExcel/Formula.pm line 249.
Couldn't parse formula: = at $0 line 7