Are you sure Richard? I'd be tempted to make sure that there weren't any errors being reported before doing that.
Have you set $bInputFields somewhere tobyb?
You should have a line somewhere that says $bInputFields = x. Where x could be a number or string.
--
Charlie Harvey's website - linux, perl, java, anarchism and punk rock:
http://charlieharvey.org.uk