in reply to Re^2: why does typo work?
in thread why does typo work?
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 ) { ... }
|
|---|