in reply to Scalar function
If $fa, $fb, and $fc are file handles, then
is doing the equivalent ofprint CSV $_, scalar <$fa>, scalar <$fb>, scalar <$fc>;
Note that there is no chomp on the reads from the three files.my $line_a = <$fa>; my $line_b = <$fb>; my $line_c = <$fc>; print CSV $_, $line_a, $line_b, $line_c;
--MidLifeXis
In Section
Seekers of Perl Wisdom