Check out the new USENIX Web site.
[ActiveState] Zope Perl External Methods

Perl External Methods is a way to tie perl functions that live inside ZopeExt:: namespace as methods of Zope objects.

Perl module name, function name and signature are provided through the Zope management interface.

Example:
~zope/Extensions/ZopeExt/Hello.pm
package ZopeExt::Hello;

sub hello {
    my $self = shift;
    my $name = $self->title;
    return "Hello, my name is $name!";
}

1;


 www.ActiveState.com 26/32 ««/\»»