Re: Glib::Flags overloaded mutators
- From: Kevin Ryde <user42 zip com au>
- To: gtk-perl-list gnome org
- Subject: Re: Glib::Flags overloaded mutators
- Date: Mon, 23 Jun 2008 08:31:46 +1000
Torsten Schoenfeld <kaffeetisch gmx de> writes:
Is there something else I missed?
I got a warning from the program below
Use of uninitialized value in null operation at foo.pl line 13.
Maybe it only needs to watch for undef in the swap arg.
use strict;
use warnings;
use Data::Dumper;
use Gtk2 '-init';
my $w = Gtk2::Window->new ('toplevel');
my $f = $w->flags;
print Dumper($f);
print "\n";
print $f,"\n";
$f += 'can-focus';
print $f,"\n";
exit 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]