IvorW wrote:
>
> From: "Rob Dixon" <[EMAIL PROTECTED]>
> To: "Sui Ming Louie" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: 08 May 2004 11:07
> Subject: Re: Function to Add Two Arrays
>
> > Change this to
> >
> > print "@array_sum\n";
> >
> > to separate elements with spaces.
>
> You need to set $" = ' ' for this to add spaces.
Try it! $" is equal to ' ' unless you change it.
> Alternatively:
>
> print join(' ',@array_sum),"\n";
I still prefer
print "@array_sum\n";
Rob
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs