Since the line number is never 0, it prints until the end of file. This is a bit too obsure, IMO, i'd do it like that:
(parens also added for clarity)if ( ($payperiod =~ /$start_day/) .. eof ) { ... }
In reply to Re^3: why does typo work?
by Anonymous Monk
in thread why does typo work?
by ggadd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |