Not to my knowledge
$/ = undef ==> Read in entire file
$/ = '' ==> Read by paragraphs
$/ = 'c' ==> Read until 'c' is encountered
However, you can do something like this:
while(<FILE>){ $_ .= defined(my $temp = <FILE>)?$temp:''; #do whatever you want with $_ }
In reply to Re: Reading double lines at a time
by Eureka_sg
in thread Reading double lines at a time
by bambam
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |