Assigning an array works in REPL but not in .jl script run from terminal

I was on

$ julia -v
julia version 0.4.8-pre

It is comforting that the syntax in Julia 0.5 is more what you would expect.

I use git for my updates and on your recommendation i did

git branch -r
git checkout release-0.5
git pull
git make

Now I am on version

$ julia -v
julia version 0.5.1-pre

Thanks!