Reading From STDIN
All global variables start with $*
The STDIN file handle is in $*IN
Iteration the same as on the last slide...
Can read a single line too
for =$*IN -> $line
# do something with $line
}
# read a single line
my $input = =$*IN;
Type :next
to continue