On this exact problem, see summary of solutions for MJD's perl quiz of the week regular #7 from 2002, and an apology about that email containing wrong code. Strangely, I can't seem to find the message where this quiz was posed, nor any solutions sent to the discuss mailing list.
Update: try this search in the archives to find solutions submitted by participants.
In reply to Re: How to calculate the sum of columns to be equal to 100?
by ambrus
in thread How to calculate the sum of columns to be equal to 100?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |