This program worked for me: #!/usr/bin/perl
$stringa = "apple"; $stringb = "banana"; $stringc = $stringa . "," . $stringb; print "$stringc\n"; -----Original Message----- From: Matthew Harrison [mailto:[EMAIL PROTECTED]] Sent: Friday, March 22, 2002 3:40 PM To: [EMAIL PROTECTED] Subject: joining 2 strings i need to join $stringa to $stringb with a coma in the middle (no whitespaces). i have tried $stringc = $stringa.",".$stringb but it says there is a problem. what should it be? -- Matthew Harrison Internet/Network Services Administrator Peanut-Butter Cheesecake Hosting Services Genstate www.peanutbuttercheesecake.co.uk -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]