karupanerura / TOML-Parser

simple toml parser
Other
15 stars 6 forks source link

"Use of uninitialized value" in _error #13

Closed pvgoran closed 7 years ago

pvgoran commented 7 years ago

I'm using TOML-0.97 with TOML::Parser-0.10.

The following code:

use warnings;
use TOML;
from_toml "a";

produces:

Use of uninitialized value in numeric le (<=) at /.../TOML/Parser/Tokenizer.pm line 399.
Use of uninitialized value in subtraction (-) at /.../TOML/Parser/Tokenizer.pm line 404.