Hi all!
How can I concatenate another string onto that sample above?!?!? - i.e. get this kind of thing to work please?Code:$var1="hello";
print $var1;
Cheers! :D ;)Code:$var1="hello";
print $var1 & " world!";
Printable View
Hi all!
How can I concatenate another string onto that sample above?!?!? - i.e. get this kind of thing to work please?Code:$var1="hello";
print $var1;
Cheers! :D ;)Code:$var1="hello";
print $var1 & " world!";
. is the Perl string concatenation operator.
'Course, it has been a while since I've had the luxury of using Perl, so I may be remembering things wrong. In which case, see my signature.Code:print $myVar . " foo";
Ah right, thanks for that! :)