in reply to
input record separator and inplace editing
Setting $/ to "" will treat empty lines as a record terminator. This is different from setting it to undef, which will allow you to slurp the whole file in one <>.
Comment on
Re: input record separator and inplace editing
In Section
Seekers of Perl Wisdom