文件名称:Perl extension module for Tuxedo
文件大小:33KB
文件格式:GZ
更新时间:2012-01-02 04:43:35
Perl Tuxedo
This module provides the following functionality... * 'C' style interface The Tuxedo perl module gives you access to almost all of the tuxedo 8.1 apis from perl. In most cases you can take the C API you already familiar with, apply perl semantics to it, and write working tuxedo programs in perl. * Object wrapping of C structures Many tuxedo functions take pointers to C structures as function parameters. To preserve the C interface, this module provides perl objects that encapsulate the C structures used by tuxedo. These objects allow the user to create and manipulate the elements of these C structures, and these objects are then passed as parameters to the perl version of these tuxedo C functions. * buffer management Perl classes exist for each buffer type to allow for easy manipulation of buffer contents and automatic memory cleanup when no more references to the buffer exist. * callback subs perl subs can be registered as unsolicited message handlers and signal handlers. * FML/FML32 field table support This module includes the mkfldpm32.pl script that is the perl equivalent of the tuxedo mkfldhdr32 program. It accepts a field table file as input and produces a *.pm file that can be included in a perl script, so field identifiers can be referenced by id. * perl tuxedo services You can now write tuxedo services in perl. When you build the Tuxedo module, it should create a tuxedo server called PERLSVR. This is a tuxedo server that contains an embedded perl interpretor for executing perl tuxedo services. When PERLSVR boots up, it parses the perlsvr.pl script, which at the moment it expects to find in its working directory. The location of perlsvr.pl will be configurable in a future version. The perlsvr.pl script is run as the tpsvrinit routine. You can modify perlsvr.pl to define any subs you want to be tuxedo services and advertise these subs.
【文件预览】:
Tuxedo-2.08
----tpadm.pm(34KB)
----Tuxedo.pm(18KB)
----genubbconfig.pl(4KB)
----Changes(982B)
----testflds(74B)
----ubbconfig.template(544B)
----Tuxedo.xs(44KB)
----TuxedoConstants.c(11KB)
----test.pl(9KB)
----META.yml(292B)
----perlsvr.pl(491B)
----Makefile.PL(2KB)
----MANIFEST(269B)
----typemap(312B)
----testflds.pm(242B)
----README(633B)
----mkfldpm32.pl(3KB)
----mainexit.h(2KB)