Gregg O'Donnell wrote: > Greetings all, > Instead of joining my scalars with ',' I'd like each to appear on a > newline. Replacing ',' with '\n' doesn't work. Suggestions? Thanks! > > my $cfor_edu = join (',',$bs_alma,$bs,$ms_alma,$ms);
You need to enclose \n in double quotes. Inside single quotes, it just means the 2-character string consisting of a backslash and the letter n. So, use join "\n", ... But read also the section on interpolation in perldoc perlop, because the expansion of \n is system-specific. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>