# add new columns to an existing row push @{ $LoL[0] }, "wilma", "betty";Notice that I couldn't say just:
push $LoL[0], "wilma", "betty"; # WRONG!In fact, that wouldn't even compile. How come? Because the argument to
push()
must be a real array, not just a reference to such.
沒有留言:
張貼留言