Re: Glib constants as barewords



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]