Hi, everyone!
I want to set a certain value for formal charge of a given atom using a Perl script, I tried to write it as \\\$atom -> FormalCharge = 0, but when I debugged the script, it prompted the error of unsupported data type (writing property "FormalCharge"). In manual, the fomal charge requires the type of rational number object. I'm so confused that why value type of 0 is not right and my question is how to write this line of code correctly?
Thanks for a help!
