programming-examples/perl/Statement/Conditional operator- The unless Modifier and while loop and __DATA__.pl
2019-11-15 12:59:38 +01:00

11 lines
132 B
Perl

while(<DATA>){
print unless /N/; # Print line if it doesn't match N
}
__DATA__
A
B
I
N
J
K