> Is there a way to pass an array to a function... e.g
> 
> myArray = Array.new( 5, "Hello" )
> 
> def bye( arr )
>   arr[2] = "Goodbye"
> end

  Perhaps I am misunderstanding something here, why won't just:
       
       bye(myArray)

   work? I just did that on irb, it returns "bye", and changes the
array as you'd expect.