my $R="foo"; print "${R}[0]\n"; #### [0] #### my $R = "foo"; my $R[0] = "bar"; print "${R}\[0]\n"; print "${R[0]}\n";