Re: problem with $liststore->set




On Jul 20, 2005, at 3:23 PM, muppet wrote:

Jens Luedicke said:

is it a known problem that something like this

[calling a method in list context]

behaves differently than

[calling same method in scalar context]

!?

I wouldn't call it a "problem". By perl's rules, the subroutine will be
called in list context in the first case.

I meant also to add, "and you'll see 'interesting things' if the function in question returns something different in list context than in scalar context.".... which, as later posts showed, was your problem.


--
Jolt is my co-pilot.
  -- Slogan on a giant paper airplane hung in Lobby 7 at MIT.
     http://hacks.mit.edu/




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