in reply to Re: perl-5.8.5 op/write.t fails
in thread perl-5.8.5 op/write.t fails

Ah, I see more clearly now.

From perldoc perlform: "For a regular field, the value (up to the first newline) is taken and printed according to the selected justification, truncating excess characters."

So it seems to me now that 5.8.5 is mishandling newlines in fields to be formatted. Yes?

How important could this be? I guess I should look at the other two tests before I force "make install"...

Replies are listed 'Best First'.
Re^3: perl-5.8.5 op/write.t fails
by Prior Nacre V (Hermit) on Aug 06, 2004 at 23:00 UTC

    Actually, hold that thought - something is definitely screwy here. I've checked 5.6 and 5.8 doco - they concur - so it would appear that v5.8.5 is getting it wrong (as you say) but you shouldn't need to change anything to make this work (as I suggested).

    I have v5.6.1 and v5.8.2 here - I'll run some tests and check this out.

    Update
    The code you posted works correctly (i.e. prints "... is the time for ...") on both those versions. Looking like a v5.8.5 bug. See if you can find someone with 5.8.5 installed - Any takers monks?

    Regards,

    PN5