To join strings there are several options
for printing your best bet is to send a comma seperated list, as that will have fewer syscalls (as per llama book advice). EX: print "Hello", " World", $scalar_that_will_be_attached_to_end, @array_that_will_be_flattened; for setting it in a variable there are about a million and one ways to do this (TMTOWTDI). you can use the '.' operator EX: $var1 = $var2 . $var3; and the other way *I* regularly find usefull is the '.' operator in a foreach loop EX: foreach $item (@arry) { $var . " " . $item } there are about a million other ways, those three will fit into most cases (at least they have for me), if your really serious about learning perl I suggest getting Programming Perl (oreilly) and Advanced Perl (oreilly) and The Perl Cookbook (oreilly) Bc wrote: > so matt, can i assume that in perl, to add string to sting, just do this: "string >data...etc..." ($string_to_be_added\n); ? Just put them > next to each other? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]