$total = @a[3] + @a[4]; # works print @a[5]; # works #### @a[3] = ; # read one line? NOPE!