One thing I forgot to mention was database access. I haven't tried it at all.
There should be no reason you can't successfully and efficiently access the ns_db interface with the existing perl tcl_api functionality like so: my $db = Ns::tcl_api('ns_db'); my $handle = $db->gethandle; $db->0or1row($handle, $sql); You should also be able to make additional connections to any database of your choice via the usual Perl DBI modules (though you'll need to be careful to compile eg. DBD::Pg against the same postgres libraries you use for nsdb). Various options for using nsdb in a more native way will be explored at some time in the future. Mark. On Sun, Apr 13, 2008 at 11:07 PM, Mark Aufflick <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm very pleased to announce the first (alpha) release of nsperl2. > It's an alpha release, so no promises as to its quality. There are > *definately* memory leaks at the moment but my tests pass reliably (on > MacOS 10.5 and CentOS 4.5) so you should feel free to try it out if > you feel so inclined. I try quite hard to deal with performance issues > such as native variable and bytecode representations, so the ultimate > performance once any gremlins are ironed out should be quite good.. > > Below is the nub of it from the README which also contains web and > subversion urls. Please don't hesitate to contact me if you have any > questions or any trouble compiling/using it. > > Cheers, > > Mark. > > > > Introduction > ------------ > > nsperl2 is an AOLServer module which bridges, in both directions, > between tcl and Perl. > > With it you can: > * call perl functions from tcl (via the perl::call tcl function) > * call tcl functions from perl (via a number of methods - see > Documentation below) > * register perl functions to handle aolserver requests (via > Ns::register_url) > > Downloading > ----------- > > See INSTALL.txt for the versions of perl, tcl and aolserver you will need. > > The latest version of nsperl2 is always avalible via subversion. See > Links below. > > Installation > ------------ > > As you can imagine, it is not a walk in the park to correctly link > tcl, aolserver and perl. > While there will be many ways of making it all work, you are best off > following the step by > step instructions in INSTALL.txt at least at first. It details the > versions and options > of each part. > > Once the tcl, aolserver and perl pre-requisites are installed, the nsperl2 > Makefile builds the api modules and links everything together for you. > > A set of tests is also included, although they do not yet cover every > documented method. > > Documentation > ------------- > > Documentation can be found in the perl modules' pod. The test cases > are also useful documentation. > > You can browse the pod of the latest svn trunk versions online. > > Links > ----- > > Browse subversion repository: > http://svn.pumptheory.com/trac/main/browser/trunk/aolserver/nsperl2 > Svn repository url: http://svn.pumptheory.com/repos/trunk/aolserver/nsperl2 > > POD documentation: > > http://svn.pumptheory.com/cgi-bin/pod2html.cgi?class=Ns > http://svn.pumptheory.com/cgi-bin/pod2html.cgi?class=Ns::Set > http://svn.pumptheory.com/cgi-bin/pod2html.cgi?class=Ns::Conn > > > > -- > Mark Aufflick > contact info at http://mark.aufflick.com/about/contact > -- Mark Aufflick contact info at http://mark.aufflick.com/about/contact -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.