programming-examples/perl/Statement/until with diamond operator.pl

3 lines
52 B
Perl
Raw Normal View History

2019-11-15 12:59:38 +01:00
until (($line = <>) eq 'q\n') {
print $line;
}