W
Winston Kotzan
Hello,
I am having a perplexing problem inserting a variable in the middle of text
without a space. For example:
$myvar = 'some';
print <<STOP
I want $myvar thing between text.
STOP
This would output:
I want some thing between text.
The difficulty arises when I want to insert $myvar without a space between
the words; I want the output to look like this:
I want something between text.
What can I do to join $myvar and the following 'thing' as one word in the
above string construct?
Help is greatly appreciated. Thanks.
I am having a perplexing problem inserting a variable in the middle of text
without a space. For example:
$myvar = 'some';
print <<STOP
I want $myvar thing between text.
STOP
This would output:
I want some thing between text.
The difficulty arises when I want to insert $myvar without a space between
the words; I want the output to look like this:
I want something between text.
What can I do to join $myvar and the following 'thing' as one word in the
above string construct?
Help is greatly appreciated. Thanks.