Help for this page
$string =~ s/(..)/$1|/g;
my $string; { ... my @pairs = <FOO>; $string = join '|', @pairs; }