#!/usr/bin/perl -w use strict; while (<DATA>) { my $three_lines = $_.<DATA>.<DATA>; print $three_lines, "\n"; } =output asdfasdf asdfasdf asdfasdf asdfasdfasdf asdfasdf someting adfasdf asdfasdfasdfasdfasdf asdfasdfasdf asdfasdfasdfasdfasdfasdf werwerwerwer ertertert zsdfasdfasdf =cut __DATA__ asdfasdf asdfasdf asdfasdf asdfasdfasdf asdfasdf someting adfasdf asdfasdfasdfasdfasdf asdfasdfasdf asdfasdfasdfasdfasdfasdf werwerwerwer ertertert zsdfasdfasdf
In reply to Re: input record separator
by Marshall
in thread input record separator
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |