I hope you're using use strict; and use warnings;.
Update: Added points.
In reply to Re: Function Confusion by ikegami in thread Function Confusion by Anonymous Monk