Inspired by: http://rt.perl.org/rt3/Public/Bug/Display.html?id=44833 (fixed somewhere between 5.8.7 and 5.8.8) But I don't think test were added for it. Attached is a patch for t/base/rs.t. (I hope this is the correct file to test it...) What is changed: a) a test counter is used instead of constants, b) the test output is made more descriptive c) the tests get repeated for an in memory file (this meant moving the test code in two separate subroutines - and changing the filehandle (not absolutly required tho)) (I'm not entirely sure about the name I gave the subs... so feel free to change it into something better.) Kind regards, BramThread Next