If you return void from a filter subroutine, the caller's status is
authorNicholas Clark <nick@ccl4.org>
Sat, 15 Apr 2006 16:43:22 +0000 (16:43 +0000)
committerNicholas Clark <nick@ccl4.org>
Sat, 15 Apr 2006 16:43:22 +0000 (16:43 +0000)
commitbccf3f3d1e8232741671a14320e468bb69bd7bed
tree9b6b2186c40cff5b56b626ff600814335931a072
parent6b75eab3f73b41deb8b430d182d5c3677d0d992f
If you return void from a filter subroutine, the caller's status is
used. If not, your last statement is the return value, and if it keeps
being +ve you'll never hit EOF.
The probably should be a sanity check for this in toke.c, but I'm not
sure how.

p4raw-id: //depot/perl@27814
t/op/incfilter.t