![]() |
|
good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: need help with concantenationby seattlejohn (Deacon) |
on Jan 12, 2003 at 06:26 UTC ( #226217=note: print w/replies, xml ) | Need Help?? |
Without any surrounding context it's hard to determine what you're trying to accomplish here. Consider that $x .= $y is just shorthand for $x = $x . $y. So what you've written is this: which isn't meaningful, as you need to have a single variable name on the left side of the assignment statement. Is your intent to modify individual elements within an array, like this? It might help if you followed up with a bigger snippet of code and/or a more complete explanation of what you expected the behavior to be. $perlmonks{seattlejohn} = 'John Clyman';
In Section
Seekers of Perl Wisdom
|
|