newline or CR with join function

From: Gregg O'Donnell (gpod363_at_yahoo.com)
Date: 02/26/04


Date: Thu, 26 Feb 2004 09:36:53 -0800 (PST)
To: beginners@perl.org

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



Relevant Pages

  • Summary: array in ksh
    ... IFS environment variable to a newline. ... Ilhan Narili ... Some suggested that I use perl. ... Do you Yahoo!? ...
    (SunManagers)
  • Re: Mixing SSA drive sizes
    ... replacing our J40 with a p630. ... drives for another year, when they'll be replaced. ... >> Cincinnati, OH USA ... >> Do you Yahoo!? ...
    (AIX-L)
  • Re: Mcopy not removing the "^M" character
    ... > Lyons wrote: ... > For me that doubles each newline, ... Check out the new Yahoo! ...
    (Debian-User)
  • Re: newline or CR with join function
    ... >Instead of joining my scalars with ',' I'd like each to appear on a ... >Get better spam protection with Yahoo! ... for *nix] ...
    (perl.beginners)
  • Re: newline or CR with join function
    ... It's that interpolation thing... ... >>Instead of joining my scalars with ',' I'd like each to appear on a ... >>Get better spam protection with Yahoo! ...
    (perl.beginners)