++ You're absolutely right. I've been writing for my $var ... for so long that I'd forgotten about that rather unintuitive behaviour.
By the way, you're not the only one to have been bitten by that. :-)
-- Ken
In reply to Re^3: showing the error ,Can't modify concatenation (.) or string in scalar assignment
by kcott
in thread showing the error ,Can't modify concatenation (.) or string in scalar assignment
by gayu_justin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |