[Zope-Perl] Alpha 3
Maarten Slaets
mslaets@information-innovation.com
Tue, 15 Aug 2000 10:05:46 +0200
Gisle Aas wrote:
>
> A new release is now available from:
>
> http://www.ActiveState.com/download/Zope-Perl/zope-perl-0.1.a3.tar.gz
>
> Changes since a2 are:
>
> Moved API methods out of the Python::Object namespace
> and made them plain functions in the Python:: namespace.
> This remove stupid limitation of what real attributes names
> can be used safely with the AUTOLOAD mapping.
>
> Python::Object constructors are now plain functions like
> long(), list(), dict() in the Python:: namespace.
>
> Overloading of hash/array/call deref for Python::Object.
> It means $list->[0], @list, $dict->{foo}, %$dict, and
> $callable->($arg1, $arg2) now all work.
great. this solves my last question about reading unknown fields of a
form:
my $REQUEST = shift;
foreach $key (keys %{$REQUEST->form}) {
$ret .= "$key = " . $REQUEST->{$key} . "\n";
}
$ret;
Regards
Maarten.