Re: Glib constants as barewords
- From: Brian Manning <cpan xaoc org>
- To: oldtechaa <oldtechaa gmail com>
- Cc: GTK-Perl List <gtk-perl-list gnome org>
- Subject: Re: Glib constants as barewords
- Date: Wed, 28 Jun 2017 10:56:51 -0700
On Wed, Jun 28, 2017 at 9:23 AM, oldtechaa <oldtechaa gmail com> wrote:
Hello everyone,
I had a quick question about the reason for using Glib constants vs
declaring your own.
If you're not using any other features from Glib besides the boolean
constants, it's probably not worth importing the module; you can use
something like the `constant` pragma in core Perl [1] to do the same
thing.
Thanks,
Brian
[1] http://perldoc.perl.org/constant.html
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]