Also, if you are curious about what method gets invoked, you can use the @which macro, to display the signature, file and line of the method definition.
@which open("file.text","w") do f write(f, "Hello world!") end In the 0.3 prereleases you might also use the @less macro to see the code directly.