I believe that the correct behavior is for $/=\10 to cause getlines behave as reads with length 10, as discussed. However, this will be introduced in the 5.17 series. In the meantime, the horrors of this will be documented. The security concern, for now, can be addressed at a different level. --- via perlbug: queue: perl5 status: open https://rt.perl.org:443/rt3/Ticket/Display.html?id=100058Thread Previous