Re: problem with $liststore->set
- From: "A. Pagaltzis" <pagaltzis gmx de>
- To: Gtk2-Perl list <gtk-perl-list gnome org>
- Subject: Re: problem with $liststore->set
- Date: Wed, 20 Jul 2005 23:58:40 +0200
* Jens Luedicke <jens luedicke gmail com> [2005-07-20 23:45]:
I looked into Stat::lsMode and the following piece of code from
format_mode seems to be the problem:
if (wantarray) {
(@ftype, @permstrs);
} else {
join '', @ftype, @permstrs;
}
Ah, duh. So then you need
$liststore->set($iter, 0, scalar $stuff->return_value);
But of course this has nothing to do with Gtk2.
Regards,
--
#Aristotle
*AUTOLOAD=*_=sub{s/(.*)::(.*)/print$2,(",$\/"," ")[defined wantarray]/e;$1};
&Just->another->Perl->hacker;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]