Re: Simple-?? classes
- From: "A. Pagaltzis" <pagaltzis gmx de>
- To: Gtk-Perl-List <gtk-perl-list gnome org>
- Subject: Re: Simple-?? classes
- Date: Thu, 1 Apr 2004 00:39:36 +0200
* Ross McFarland <rwmcfa1 neces com> [2004-03-31 01:24]:
On Tue, 2004-03-30 at 10:02, Carl Nygard wrote:
If SimpleList is moved to Simple::List, isn't it possible to
use some perl magic to yank in the code from Simple::List and
make it appear as Gtk2::SimpleList? I vaguely recall some
cookbook code or tutorial example that did this type of
thing.
most likely, although it would take being very careful.
Not terribly, not even very. If $obj->isa('Gtk2::SimpleList')
suffices, then it's child's play. Only if you insist on
satisfying ref($obj) == 'Gtk2::SimpleList' do things get..
interesting.
--
Regards,
Aristotle
"If you can't laugh at yourself, you don't take life seriously enough."
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]