Re: [RFC] export TRUE and FALSE from someplace
- From: Thierry Vignaud <tvignaud mandrakesoft com>
- To: "muppet" <scott asofyet org>
- Cc: gtk-perl-list gnome org
- Subject: Re: [RFC] export TRUE and FALSE from someplace
- Date: Wed, 21 Jan 2004 11:58:13 +0100
"muppet" <scott asofyet org> writes:
i would have no objections to it so long as
use Glib qw/TRUE FALSE/
worked as well
would merely require them being both in @EXPORT_OK and %EXPORT_TAGS,
which was the plan.
"@EXPORT_OK = map { @$_ } values %EXPORT_TAGS;" is your friend
to get ridiculous while we're thinking about constant stuff, would
it be advantageous or desirable to define exportable constants for
things like
use constant GTK_STOCK_OK => 'gtk-ok';
one thing that can keep you guessing is the rules for translating
stock macros to strings...
for stock icons, both forms directly came from gtk+ headers, the later
being quite a lot more readable, hence i do not see any interest in
exporting GTK_STOCK_* constants.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]