in reply to perl script to find molecular weight of group of compounds in smiles
The molecular weight remains the same when calculated in any format, be it smiles or molecular formula. I don't think it's of any utility. It's better you check out some free tools available that serve the same purpose.
Check perlmol, it would help you.