TIMTOWTDI but I might write it like this:
#!/usr/bin/env perl use strict; use warnings; open my $test, '<', $ARGV[0] or die "Cannot open $ARGV[0]: $!\n"; while (<$test>) { next unless /test/; print "start"; last; } close $test;
In reply to Re: flag function
by hippo
in thread flag function
by dideod.yang
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |