logical barred ?



hi,

could someone give me a hint why the following code doesn't work:

----snip----
push(@tmp, (shift(@tmp)." => 'text'")) foreach(@tmp);
my $listview = Gtk2::SimpleList->new(@tmp);
----snap----

@tmp is populated with the column names from a database query. maybe i'm
on the totally wrong path. how am i supposed to use Gtk2::SimpleList
with headers changing dynamically on each request ?

the help of a more enlightened person would be fine....

ciao
        oli
 
-- 
got ubuntu ? --------------> GET UBUNTU !!!
http://www.ubuntulinux.org/




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