Win32::GUI is Aldo Calpini's native Win32 GUI toolkit for Perl. "Basically, it's an XS implementation of most of the functions found in user32.dll and gdi32.dll, with an object oriented perl interface and an event-based dialog model that mimics the functionality of Visual Basic."
This is work in progress to the same extent as Win32::GUI. Not all Delphi components are supported. Not all GUI packages are supported. As it stands it will produce a working Win32::GUI script to which you can add your own code.
If you already use Delphi/C++Builder and Perl/TK you may be interested in using this work as a basis for a DFM to TK converter.
Download dfm2gui.zip (250k) which contains the following:
dfm2gui.pl - The parsing program dfm2txt.exe - A dos utility to convert binary forms to text wdfm2txt.exe - A windows utility to convert binary forms to text Demo.dfm - Delphi form and Win32::GUI equivalent Calc.dfm - Delphi form and Win32::GUI equivalent Hello.dfm - Delphi form and Win32::GUI equivalent Recurse.dfm - Delphi form and Win32::GUI equivalent Wdfm2txt.dfm - Delphi form and Win32::GUI equivalent Binary.dfm - Binary version of Wdfm2txt.dfm