in reply to duplicate keys in YAML

hi is there any way I can also find out the line number of the file at which the error occurred? YAML::Tiny does error out but doesn't give the line number out. Any other module which solves this issue?