The above code is doing appending value for variable-2 only.If you want Perl to give you a hint as to why that happens, see Tip #1 from the Basic debugging checklist: warnings
In reply to Re: Concatenating more than one variable in perl
by toolic
in thread Concatenating more than one variable in perl
by manoj_speed
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |