in reply to Iso electric point calculation using perl

If %protein is empty by the time you get to line 58, you won't get any output. Without seeing your data file, that looks eminently possible.