3.6
One previously seen operation that returns a different value in a list context is @a = <STDIN>; # read standard input in a list context If the person running the program types three lines, then hits CTRL-Z (to indicate end-of-file), the array ends up with three elements. Each element will be a string that ends in a newline, corresponding to the three newline-terminated lines entered. |
|