$newvar = $var1."-".$var2."-".$var3;
----- Original Message -----
From: "John Edwards" <[EMAIL PROTECTED]>
To: "'Diego Riaņo'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, June 27, 2001 2:01 PM
Subject: RE: Joining variables
> This wouldn't be homework by any chance???
>
> -----Original Message-----
> From: Diego Riaņo [mailto:[EMAIL PROTECTED]]
> Sent: 27 June 2001 13:59
> To: [EMAIL PROTECTED]
> Subject: Joining variables
>
>
> Hi Perl guys
>
> I have another problem:
>
> I have three variables working:
> $var1
> $var2 #and
> $var3
>
> I want to join these three variables in a new one, with some formar,
> something like that:
>
> $newvar will be $var1-$var2-$var3
> for example if:
>
> $var1=2000
> $var2=08 #and
> $var3=15
>
> then
>
> $newvar=2000-08-15
>
> I hope someone can help me
>
> Thanks in advances
>
> DiegoM
>
>
> --------------------------Confidentiality--------------------------.
> This E-mail is confidential. It should not be read, copied, disclosed or
> used by any person other than the intended recipient. Unauthorised use,
> disclosure or copying by whatever medium is strictly prohibited and may be
> unlawful. If you have received this E-mail in error please contact the
> sender immediately and delete the E-mail from your system.
>