How does one tell perl to perform mathematical operations? I have a file with a series of items like this: >BLAH1 Length = 500 Identities = 20/100.
>BLAH2 Length = 400 Identities = 30/70 For each item called BLAH, I want to pick the denominator in Identites and divide by Length and calculate percentage. Eg. for BLAH1: 100/500 * 100 = 20% and later , print all BLAHs for which the value is >50%. I csn write reg exps to find the numbers i am interested in, but am not sure how to go further.. thanks, -nandita -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]