Reading from the terminal

Author: Scott Penrose

Source code: 01-read-from-terminal.pl

#!/usr/bin/env perl6

use v6;

for $*IN.get {
    say "I read the line: $_";
}