|
|
| We don't bite newbies here... much | |
| PerlMonks |
Re: Re: Golfing the day of Christmasby jynx (Priest) |
| on Dec 14, 2001 at 06:45 UTC ( #131888=note: print w/ replies, xml ) | Need Help?? |
|
Your answer can be trimmed down to 47 characters: But this begs the question, should it be immediately reusable? My guess is yes, in which case this is a non-answer. The problem is that $b doesn't get reinitialized at the start of the sub so you have to either zero it or undef it in between every call. It returns correctly the first time, but incorrectly after that; is this ok for a golf? Or should it return correctly every time? jynx
In Section
Meditations
|
|
||||||||||||||||||||||