##
use strict;
use warnings;
$/ = "
";
my $i = -1;
my @record;
while() {
chomp;
if (/^$/) {
$i = -1;
next;
}
$record[++$i] = $_;
print "@record\n" if ($i == 2);
}
__DATA__
Name1
Address1
Name2
Address2
URL2
Name3
Address3
URL3
Name4
Address4