- or download this
my $input = 'hello';
my $temp = 'world';
$input = "$input $temp";
- or download this
my $input = 'hello';
my $temp = 'world';
$input = $input . ' ' . $temp;
- or download this
my $input = 'hello';
my $temp = 'world';
$input .= ' ' . $temp;
- or download this
my $input = 'hello';
my $temp = 'world';
$input = join(' ', $input,$temp);
- or download this
my $input = 'hello';
my $temp = 'world';
...
push @temp, ' ';
push @temp, $_ for split('', $temp);
$input = join('',@temp);