Re: Gtk2::Simple::Tree (preview)



On Thursday, April 15, 2004, at 07:28 AM, Ross McFarland wrote:

i don't disagree about the hash form being pretty verbose, but i guess i
think the verbosity is worth it. i guess we could make both versions if
there were enough people who felt strongly enough about it, but i'd
really rather not.

would it help to have something like

  $node = $simpletree->fetch_node_at (@list_of_indices);
  $value = $node->{value};

which does the equivalent of

$node = $simpletree- >{data}[$index[0]]{children}[$index[1]]{children}...[$index[n]];

internally?

--
He's so good, you're gonna rock, and if you don't rock, it's your own fault.
  -- kk, describing the perks of having a very good drummer.




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