Is there a better way to finding out what a field's type is? Err, lemme rephrase that (with added background info too

).
I have a small script here that uses Mech to find all the fields on the form on the website. The code in question is:
CODE
@fields = $mech->find_all_inputs();
Now, what that returns is not that helpful:
CODE
HTML::Form::TextInput=HASH(0x87b6ba8)
HTML::Form::ListInput=HASH(0x87bae78)
HTML::Form::SubmitInput=HASH(0x87bb460)
HTML::Form::TextInput=HASH(0x87bf770)
HTML::Form::ListInput=HASH(0x87bbd48)
HTML::Form::ListInput=HASH(0x87bf740)
HTML::Form::SubmitInput=HASH(0x87bf8a8)
HTML::Form::TextInput=HASH(0x87c049c)
HTML::Form::ListInput=HASH(0x87c0388)
HTML::Form::SubmitInput=HASH(0x87c03c4)
HTML::Form::TextInput=HASH(0x87ce480)
HTML::Form::ListInput=HASH(0x87ce1a4)
HTML::Form::SubmitInput=HASH(0x87ce2f4)
So now I know if the field is either a textbox, some sort of list, or a submit button. But the site has both dropdown fields and radio button fields. Anyway to distinguish between them? Is there a better way to gather the field types?
EDIT: Lol@New D.I.C. Head. Oh, and is there a way to select a dropdown option by its number on the list, rather than what it says?
This post has been edited by Saiki: 28 Jun, 2008 - 07:58 PM