|
|
| Just another Perl shrine | |
| PerlMonks |
Re: (Golf) Multiply polynomialsby Masem (Monsignor) |
| on May 07, 2001 at 18:45 UTC ( #78512=note: print w/ replies, xml ) | Need Help?? |
|
Here's a first shot, 110 characters in body only -- lacks some error check (it's going to fail with anything less than two arguements), but if you consider the second arg to be 0, then that makes sense.. :-)
Update: Cut down 5 more characters to 105, since you don't need to have $j around in the inner loop:
Update #2 as per tilly's reply, fixed the return problem to add that extra character. Dr. Michael K. Neylon - mneylon-pm@masemware.com || "You've left the lens cap of your mind on again, Pinky" - The Brain
In Section
Meditations
|
|
||||||||||||||||||||||||||||||||||||||