I need to know all the names of the CustomFields from a specific Queue

Hi

I search around but hadn’t find any hint. My problem is:
before creating a ticket (using perl) in a queue i need to know all names
of the customfields for this queue.
How can i do this? thanks in advance.

     ciao norbert