Re: problem with $liststore->set
- From: Torsten Schoenfeld <kaffeetisch gmx de>
- To: gtk-perl-list gnome org
- Subject: Re: problem with $liststore->set
- Date: Wed, 20 Jul 2005 23:33:56 +0200
On Wed, 2005-07-20 at 23:26 +0200, Jens Luedicke wrote:
sub get_mode {
my ($self) = @_;
return format_mode($self->get_raw_mode);
}
format_mode from Stat::lsMode
There's your problem. format_mode returns different things depending on
whether wantarray() is true or false:
if (wantarray) {
(@ftype, @permstrs);
} else {
join '', @ftype, @permstrs;
}
--
Bye,
-Torsten
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]