in reply to Re^3: Perl::Gtk and Color tutorial
in thread Perl::Gtk and Color tutorial

That does get me a little further, but now it still fails on the last line:

my $l = new Gtk::Label( "Success" ); my $colormap = $l->get_colormap(); my $gdk_color = Gtk::Gdk::Color->parse_color( "green" ); $gdk_color = $colormap->color_alloc( $gdk_color ); $l->window->set_background( $gdk_color );

$l->window is undefined, so can't do a set_background on it, and $l->set_background doesn't appear to exist either.