in reply to London Bridge (build it up with lots of arrays, lots of array, lots of arrays)

funny++

Couple of comments. You're not using $directive, and you don't really need join.

  • Comment on Re: London Bridge (build it up with lots of arrays, lots of array, lots of arrays)
  • Download Code

Replies are listed 'Best First'.
Re^2: London Bridge (build it up with lots of arrays, lots of array, lots of arrays)
by KurtSchwind (Chaplain) on Dec 10, 2007 at 21:53 UTC

    Thanks. I only needed join to get a space between the phrases. Otherwise I was getting "London Bridgeisfalling down". Not sure how I missed 'directive'. I might update that.

    --
    I used to drive a Heisenbergmobile, but every time I looked at the speedometer, I got lost.
      The following produces the same output without the join. It just seems simpler to me, but it's all a matter of personal preference:
      print "$building_material[0] $phrase_glue[0] $building_outcome[0],\n";