Re: Glib constants as barewords



On 29/06/17 05:36, oldtechaa wrote:
Thanks Bryan. I just wondered since two of the GTK3 tutorials on
gtk2-perl doc page recommended loading Glib, even only for the booleans.
I personally am fine with the constant method in perlstyle with all-caps
as constants, simple and no-fuss.

Surely, for a Gtk3 project, Glib is being loaded anyway (at least by
Gtk3), and is therefore no extra overhead. Whilst in the past, at least,
the overhead for the constant module was significant.

Regards

Jeff


Attachment: signature.asc
Description: OpenPGP digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]