Re: newline or CR with join function

2004-02-27 Thread R. Joseph Newton
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. "\n" would. Joseph -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: newline or CR with join function

2004-02-26 Thread Bob Showalter
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 quot

RE: newline or CR with join function

2004-02-26 Thread Wagner, David --- Senior Programmer Analyst --- WGO
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! > Use double quotes as in "\n", since single quotes will not do the expansion for you. That is \n becomes j

Re: newline or CR with join function

2004-02-26 Thread Tim
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 b

Re: newline or CR with join function

2004-02-26 Thread Tim
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 = j

Re: newline or CR with join function

2004-02-26 Thread Rob Dixon
Tim wrote: > > You need another pair of parentheses (spelling -- Jenda??)... I can spell too! 'parentheses' is right! Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: newline or CR with join function

2004-02-26 Thread John W. Krahn
Rob Dixon wrote: > > Tim wrote: > > > > You need another pair of parentheses (spelling -- Jenda??)... > > I can spell too! 'parentheses' is right! That depends on if you are talking about one parenthesis or many parentheses. :-) John -- use Perl; program fulfillment -- To unsubscribe, e-mai

Re: newline or CR with join function

2004-02-26 Thread Rob Dixon
John W. Krahn wrote: > > Rob Dixon wrote: > > > > Tim wrote: > > > > > > You need another pair of parentheses (spelling -- Jenda??)... > > > > I can spell too! 'parentheses' is right! > > That depends on if you are talking about one parenthesis or many > parentheses. On most continents a 'pair' is