[RFC] export TRUE and FALSE from someplace



i have grown very annoyed of needing to add

  use constant TRUE => 1;
  use constant FALSE => 0;

atop every gtk2-perl program i write.  it would, of course, be Very Bad for us
to export TRUE and FALSE by default from Glib, but it would please me to no
end to have them available simply, e.g.,

  use Glib ':constants';

what do you think?  is there anything else that we could toss into that bag to
make it more useful?


-- 
muppet <scott at asofyet dot org>



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