programming-examples/perl/Statement/Mixed diamond operator with for loop condition.pl

3 lines
90 B
Perl
Raw Normal View History

2019-11-15 12:59:38 +01:00
for (print "Type q to quit.\n"; <> ne "q\n"; print
"Don't you want to quit?\n") {}