http://www.perlmonks.org?node_id=1091909


in reply to converting from str to int

Check the initial example in the documentation of Marpa::R2. What remains is to pass it the string you read from the input file.
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ