clist append usage



Hi,

First what is the correct method to retreve a widget from the form, I'm
using

my $clist = $window->{FORM}{OGFDList};


but it seems like there ought to be a function call?


Second I am using append as in the example but I only get the first item
of my list,

my @stuff = qw /some stuff to put in a list/;
$clist->append(@stuff);
$clist->append('end');

Results in a list with two members:

some
end

I would expect

some
stuff
to
put
in
a
list
end

What am I doing wrong?

Thanks,
Jim






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