in reply to Function Confusion
I hope you're using use strict; and use warnings;.
Update: Added points.