Re: logical barred ?
- From: "Ross McFarland" <rwmcfa1 neces com>
- To: gtk-perl-list gnome org
- Subject: Re: logical barred ?
- Date: Mon, 11 Oct 2004 12:15:36 -0400 (EDT)
Alexandre Jousset said:
----snip----
push @tmp2, ($_, 'text') foreach @tmp;
my $listview = Gtk2::SimpleList->new(@tmp2);
----snap----
if you want to get a little fancier:
my $listview = Gtk2::SimpleList->new (
map { $_ => 'text' } @tmp
);
but don't forget that fancy can be a bad idea when you come back in a few
months and can't remember what it's doing.
-rm
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]