Tk works to a certain extent on OS X if you use XFree86 for a frontend.
To create a frontend to a perl program, as has been suggested before, you need to basically wrap it like any other commandline tool. I'd suggest investigating NSPipe, which has been discussed on these forums before.