programming-examples/perl/Statement/If start with - no repeat.pl
2019-11-15 12:59:38 +01:00

5 lines
70 B
Perl

NUMBER: while (<>) {
next NUMBER if /^-/;
print;
}