Re: problem with $liststore->set



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]