Wrong answer, surry! It's that interpolation thing...
At 12:45 PM 2/26/04 -0500, you wrote:
At 09:36 AM 2/26/04 -0800, you 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);
--------------------------------- Do you Yahoo!? Get better spam protection with Yahoo! Mail
You need another pair of parentheses (spelling -- Jenda??)...
perl -e "print join (\"\n\",('car','truck','bike'))" [unescape the quotes for *nix]
join takes a list.
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>