in reply to Re: Predefining complex data structures?
in thread Predefining complex data structures?

Thanks for the nod, demerphq, but I think I can do it my hack one better:

for ($hash{$key}) { push @$_, 'var' unless @$_ > 5 }

    -- Chip Salzenberg, Free-Floating Agent of Chaos

Replies are listed 'Best First'.
Re: Predefining complex data structures?
by Ionizor (Pilgrim) on Jul 12, 2002 at 16:39 UTC
    I understand the rest of the snippet but I'm missing the signficance of the 5. Why 5?
      Beats me why five. It was in the code I was revising.

          -- Chip Salzenberg, Free-Floating Agent of Chaos

      It was just "some condition" that happened to pop into my head. No signifigance whatsoever.

      :-)

      Yves / DeMerphq
      ---
      Writing a good benchmark isnt as easy as it might look.

        Okay, thanks :)