Yeah, thanx, I figure this one out after I realize the
opposite of split is join...how stupid was I not
recognizing that!

--- PANNEER SELVAN <[EMAIL PROTECTED]>
wrote:
> Is this okay?
> 
> @a=("I","LOVE","PERL");
> $i=join(" ",@a);
> print $i;
> 
> 
> ----- Original Message ----- 
> From: "Ling F. Zhang" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, July 01, 2003 4:56 PM
> Subject: combining array to scalar
> 
> 
> > say I have array:
> > @a=["I","LOVE","PERL"]
> > I would like to make a scalar:
> > $b="I Love Perl\n"
> > 
> > can I do this with a simple one-liner?
> > 
> > __________________________________
> > Do you Yahoo!?
> > SBC Yahoo! DSL - Now only $29.95 per month!
> > http://sbc.yahoo.com
> > 
> > -- 
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> > 


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to