programming-examples/perl/Statement/If statement in a while statement.pl

5 lines
56 B
Perl
Raw Normal View History

2019-11-15 12:59:38 +01:00
while (<>) {
print "Too big!\n" if $_ > 100;
}