in reply to Re: Need help with line concatenation
in thread Need help with line concatenation

Hi,
not quite, ++McDarren. The OP asked for some different output.
... if (/^library/) { $first_col = $_; my $secnd_col = <DATA>; chomp $secnd_col; $first_col .= ':' . $secnd_col; } ...

Regards,
svenXY