Re: [RFC][PATCH] Small enhancement for Glib::Object::Subclass
- From: "muppet" <scott asofyet org>
- To: gtk-perl-list gnome org
- Subject: Re: [RFC][PATCH] Small enhancement for Glib::Object::Subclass
- Date: Tue, 11 May 2004 15:35:25 -0400 (EDT)
Carl Nygard said:
<look ma, no code> I had implemented something similar, via the
AUTOLOAD function. If I had a hash member name, I could just use
$obj->MEMBER($value) or $obj->MEMBER() to set/get the attribute.
Gtk-Perl had something like this; it's in Gtk.pm, around line 145:
http://search.cpan.org/src/MLEHMANN/Gtk-Perl-0.7009/Gtk/Gtk.pm
i never used it -- i didn't even know it was there until reading the source
sometime last year.
--
muppet <scott at asofyet dot org>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]